1 {% extends "base_content.html" %}
6 {% block title %}{% spaceless %}{% trans "Users" %}{% endspaceless %}{% endblock %}
8 <script type="text/javascript">
9 //todo move javascript out
11 $("#nav_users").attr('className',"on");
12 $("#type-user").attr('checked',true);
13 var orderby = "{{ tab_id }}";
14 $("#sort_" + orderby).attr('className',"on");
17 Hilite.elementid = "main-body";
18 Hilite.debug_referrer = location.href;
24 <div class="headUsers">{% trans "Users" %}</div>
26 <a id="sort_reputation" href="{% url users %}?sort=reputation" class="off" title="{% trans "reputation" %}">{% trans "reputation" %}</a>
27 <a id="sort_newest" href="{% url users %}?sort=newest" class="off" title="{% trans "recent" %}">{% trans "recent" %}</a>
28 <a id="sort_last" href="{% url users %}?sort=last" class="off" title="{% trans "oldest" %}">{% trans "oldest" %}</a>
29 <a id="sort_user" href="{% url users %}?sort=user" class="off" title="{% trans "by username" %}">{% trans "by username" %}</a>
32 <div id="main-body" style="width:100%">
35 {% blocktrans %}users matching query {{suser}}:{% endblocktrans %}
38 {% if not users.object_list %}
39 <span>{% trans "Nothing found." %}</span>
42 <div class="userList">
43 <table class="list-table">
46 {% for user in users.object_list %}
50 <li class="thumb"><a href="/users/{{ user.id }}/{{ user.username|slugify }}/">{% gravatar user 32 %}</a></li>
51 <li><a href="/users/{{ user.id }}/{{ user.username|slugify }}/">{{user.username}}</a></li>
52 <li>{% get_score_badge user %}</li>
56 {% if forloop.counter|divisibleby:"7" %}
70 {% cnprog_paginator context %}
73 <!-- end users.html -->