2 {% with log_item.data as data %}
3 {% if user.is_superuser %}
4 <a href=
"{% url user-detail log_item.user.pk %}">{{log_item.user}}
</a>
8 modified permissions for
9 {{ data.affected_user_class }}
10 {% if user.is_superuser %}
11 {% ifequal data.affected_user_class
"User" %}
12 <a href=
"{% url user-detail data.affected_user_id %}">{{data.affected_user}}
</a>
14 <a href=
"{% url group-detail data.affected_user_id %}">{{data.affected_user}}
</a>
17 {{ data.affected_user }}
19 on {{log_item.object_type1}} {{data.object_str}}