def obj_pretty(objective):
    """Make antag objectives pretty for template views."""
    if objective.objective_type == u'/datum/objective/assassinate':
        return 'Asassinate {} the {}.'.format(objective.target_name, objective.target_role)
    else:
        return objective.objective_desc