1 {% extends "base_content.html" %}
6 {% block title %}{% spaceless %}{% trans "Users" %}{% endspaceless %}{% endblock %}
8 <script type="text/javascript">
9 //todo move javascript out
11 $("#type-user").attr('checked',true);
12 var orderby = "{{ tab_id }}";
13 $("#sort_" + orderby).attr('className',"on");
16 Hilite.elementid = "main-body";
17 Hilite.debug_referrer = location.href;
23 <div class="headUsers">{% trans "Users" %}</div>
25 <a id="sort_reputation" href="{% url users %}?sort=reputation" class="off" title="{% trans "reputation" %}">{% trans "reputation" %}</a>
26 <a id="sort_newest" href="{% url users %}?sort=newest" class="off" title="{% trans "recent" %}">{% trans "recent" %}</a>
27 <a id="sort_last" href="{% url users %}?sort=last" class="off" title="{% trans "oldest" %}">{% trans "oldest" %}</a>
28 <a id="sort_user" href="{% url users %}?sort=user" class="off" title="{% trans "by username" %}">{% trans "by username" %}</a>
31 <div id="main-body" style="width:100%">
34 {% blocktrans %}users matching query {{suser}}:{% endblocktrans %}
37 {% if not users.object_list %}
38 <span>{% trans "Nothing found." %}</span>
41 <div class="userList">
42 <table class="list-table">
45 {% for user in users.object_list %}
49 <li class="thumb"><a href="{{ user.get_profile_url }} ">{% gravatar user 32 %}</a></li>
50 <li><a {% if user.is_suspended %}class="suspended-user" {% endif %}href="{{ user.get_profile_url }}">{{ user.decorated_name }}</a></li>
51 <li>{% get_score_badge user %}</li>
55 {% if forloop.counter|divisibleby:"7" %}
69 {% cnprog_paginator context %}
72 <!-- end users.html -->