}
});
- $('#author-selector').autocomplete('{% url matching_users %}', {
+ $('#author-selector').autocomplete('{% url "matching_users" %}', {
minChars: 1,
matchContains: true,
max: 10,
}
});
- $('#tag-selector').autocomplete('{% url matching_tags %}', {
+ $('#tag-selector').autocomplete('{% url "matching_tags" %}', {
minChars: 1,
matchContains: true,
max: 10,
{% endif %}
<ul id="pre-filter-container">
{% for name, uri in settings.NODE_MAN_FILTERS %}
- <li class="selected"><a href="{% url admin_tools "nodeman" %}?{{ uri }}">{{ name }}</a></li>
+ <li class="selected"><a href="{% url "admin_tools" "nodeman" %}?{{ uri }}">{{ name }}</a></li>
{% endfor %}
</ul>
<form action="" method="POST">
added_at_link = current_sort == "added_at" and nodes.paginator.added_at_asc_sort_link or nodes.paginator.added_at_sort_link
author_link = current_sort == "author_asc" and nodes.paginator.author_sort_link or nodes.paginator.author_asc_sort_link
- score_link = current_sort == "score" and nodes.paginator.score_asc_sort_link or nodes.paginator.score_sort_link
act_at_link = current_sort == "act_at" and nodes.paginator.act_at_asc_sort_link or nodes.paginator.act_at_sort_link
act_by_link = current_sort == "act_by_asc" and nodes.paginator.act_by_sort_link or nodes.paginator.act_by_asc_sort_link
{% enddeclare %}
<th class="sorted {{ added_at }}">
<a href="{{ added_at_link }}">{% trans "Added at" %}</a>
</th>
- <!--<th class="sorted {{ score }}">
+ {% comment %}
+ <th class="sorted {{ score }}">
<a href="{{ score_link }}">{% trans "Score" %}</a>
- </th>-->
+ </th>
+ {% endcomment %}
<th class="sorted {{ act_by }}">
<a href="{{ act_by_link }}">{% trans "Last activity by" %}</a>
</th>