X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/03460135dbc5d86b366424da72053a853db4ce34..c76406e46e71cb86cfb440667bfbbe21b36e709e:/forum/skins/default/templates/osqaadmin/nodeman.html?ds=inline diff --git a/forum/skins/default/templates/osqaadmin/nodeman.html b/forum/skins/default/templates/osqaadmin/nodeman.html index 9e6c194..5c5c44e 100644 --- a/forum/skins/default/templates/osqaadmin/nodeman.html +++ b/forum/skins/default/templates/osqaadmin/nodeman.html @@ -1,7 +1,6 @@ {% extends basetemplate %} -{% load i18n %} -{% load user_tags %} +{% load i18n user_tags extra_tags %} {% block adminjs %} + + + + {% endblock %} {% block subtitle %} @@ -41,12 +169,24 @@
@@ -69,31 +209,105 @@ {% endfor %} +

{% trans "By author(s)" %}

+ {% if not authors.count %} + {% trans "No users selected, use the box bellow to add users to the filter." %} + {% else %} + + {% trans "Click on the cross next to a user name to remove it from the filter." %} + {% endif %} + + +

{% trans "By tag(s)" %}

+ {% if not tags.count %} + {% trans "No tags selected, use the box bellow to add tags to the filter." %} + {% else %} + + {% trans "Click on the cross next to a tag name to remove it from the filter." %} + {% endif %} + + {% comment %}

{% trans "Show" %}

+
+
{{ show_form.show }}
+ +
{% endcomment %}
-
+
+ + +
+ {% spaceless %} {% ifequal filter_form.node_type.data "all" %} {% endifequal %} - + + + + + + + + {% endspaceless %} {% for node in nodes.paginator.page %} - + {% ifequal filter_form.node_type.data "all" %} {% endifequal %} + + + + + + {% endfor %}
{% trans "Type" %}{% trans "Title" %} + {% trans "Title" %} + {% trans "Author" %} + {% trans "Added at" %} + + {% trans "Score" %} + {% trans "Last acivity by" %} + {% trans "Last activity at" %} + {% trans "Tags" %}{% trans "State" %}
{{ node.friendly_name }}{{ node.headline }} {{ node.author.username }}{% diff_date node.added_at %}{{ node.score }}{{ node.last_activity_by.username }}{% diff_date node.last_activity_at %} + {% for t in node.tags.all %} + {% if t in tags %}{{ t.name }} + {% else %}{{ t.name }}{% endif %} + {% endfor %} + {{ node.state_list|join:", " }}