diff --git a/board/templates/board/base.html b/board/templates/board/base.html index 5e50f0f..9334072 100644 --- a/board/templates/board/base.html +++ b/board/templates/board/base.html @@ -9,10 +9,11 @@ {% block extrastyle %}{% endblock %} - - - + + + {% if user.is_staff %} + {% endif %} {% block extrajs %}{% endblock %} diff --git a/board/templates/board/post_snippet.html b/board/templates/board/post_snippet.html index 31c349d..22d47f1 100644 --- a/board/templates/board/post_snippet.html +++ b/board/templates/board/post_snippet.html @@ -18,7 +18,7 @@ {% endif %} - {# Post ID, status icons, username, time #} + {# Post ID, status icons, username, time, admin info #} #. {{post.id}} {% if post.subject %} @@ -35,6 +35,15 @@ at {{post_created}} {% endblocktranslate %} + {# staff inline items #} + {% if user.is_staff %} + + + [ {{post.ip}} | {{post.user_token|slice:"0:6"}} ] + + + {% endif %} + {% if post.sticky and not post.op %} {% endif %} @@ -45,6 +54,7 @@ {% if reply_link %} [{% translate "Reply" %}] {% endif %} +