def _get_member_war_status_class(collection_day_battles, war_day_battles,
    war_date, join_date, current_war=False, war_day=False):
    """ returns CSS class(es) for a war log entry for a given member """
    if war_date < join_date:
        return 'not-in-clan'
    status = 'normal'
    if current_war:
        if collection_day_battles < 3:
            status = 'ok'
        elif war_day and war_day_battles > 0:
            status = 'good'
        if war_day == False or war_day_battles == 0:
            status += ' incomplete'
    elif collection_day_battles == 0:
        status = 'na'
    elif war_day_battles == 0:
        status = 'bad'
    elif collection_day_battles < 3:
        status = 'ok'
    else:
        status = 'good'
    return status
