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>
9 {{ data.affected_user_class }}
10 {% if user.is_superuser and log_item.object2_id %}
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|default:
"[deleted user]"}}
19 from {{log_item.object_type1}} {{data.object_str}}