diff --git a/moderation/templates/moderation/tree.html b/moderation/templates/moderation/tree.html index ed7d0f5b..2aad2283 100644 --- a/moderation/templates/moderation/tree.html +++ b/moderation/templates/moderation/tree.html @@ -3,6 +3,29 @@ {% block title %}Arbre de modération{% endblock %} {% block content %} + {% partialdef tree_node %} +
  • +
    + {% if not is_root %} + + {% endif %} + {{ node.user.netid }} + {{ node.user.name }} + ({{ node.user.action_count }} action{{ node.user.action_count|pluralize }} de modération, {{ node.user.document_count }} document{{ node.user.document_count|pluralize }}) + {% if node.user.is_staff %} + Admin + {% endif %} +
    + {% if node.children %} + + {% endif %} +
  • + {% endpartialdef tree_node %} +