2 {% load object_log_tags %}
3 {% with log_item.data as data %}
4 {% if user.is_superuser %}
5 <a href=
"{{ log_item.user.get_absolute_url }}">{{log_item.user}}
</a>
9 modified permissions for
10 {{ data.affected_user_class }}
11 {% if user.is_superuser and log_item.object_id2 %}
12 {% ifequal data.affected_user_class
"User" %}
13 <a href=
"{% url user-detail log_item.object_id2 %}">{{data.affected_user}}
</a>
15 <a href=
"{% url group-detail log_item.object_id2 %}">{{data.affected_user}}
</a>
18 {{ data.affected_user|default:
"[deleted user]"}}
20 on {{log_item.object_type1_id|ct_for_id}} {% contenttypelink log_item.object_type1_id log_item.object_id1 %}{{log_item.data.object_str}}{% endcontenttypelink %}