]> git.parisson.com Git - teleforma.git/commitdiff
fix user list
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 17 Apr 2012 14:29:18 +0000 (16:29 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 17 Apr 2012 14:29:18 +0000 (16:29 +0200)
teleforma/templates/telemeta/inc/user_list.html

index ef3eba2017bbadcc9cc983c4d3a1cec03f66a297..58a882de438306964122dd8d0527e8b4a1d71b35 100644 (file)
         <td></td>
         <td></td>
         <td></td>
-
-    {% endif %}
+    {% elif user.is_staff %}
+        <td>{% trans "Administrator" %}</td>
+        <td></td>
+        <td></td>
+        <td></td>
+        <td></td>
+        <td></td>
+    {% else %}
+        <td>{% trans "Unknown" %}</td>
+        <td></td>
+        <td></td>
+        <td></td>
+        <td></td>
+        <td></td>
+    {%  endif %}
     <td><a href="{% url postman_write user.username %}" class="component_icon button" id="action_orange">{% trans "Message" %}</a></td>
     </tr>
     {% endfor %}