]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/users/users.html
OSQA-143, fixing text overflow issue under IE8, added max-width to the paragraphs...
[osqa.git] / forum / skins / default / templates / users / users.html
1 {% extends "base_content.html" %}
2 <!-- users.html -->
3 {% load extra_tags %}
4 {% load humanize %}
5 {% load i18n %}
6 {% block title %}{% spaceless %}{% trans "Users" %}{% endspaceless %}{% endblock %}
7 {% block forejs %}
8        <script type="text/javascript">
9            //todo move javascript out
10         $().ready(function(){
11             $("#type-user").attr('checked',true);
12             var orderby = "{{ tab_id }}";
13             $("#sort_" + orderby).attr('className',"on");
14             
15             Hilite.exact = false;
16             Hilite.elementid = "main-body";
17             Hilite.debug_referrer = location.href;
18         });
19         </script>
20 {% endblock %}
21 {% block content %}
22 <div class="tabBar">
23     <div class="headUsers">{% trans "Users" %}</div>
24     {{ users.paginator.sort_tabs }}
25 </div>
26 <div id="main-body" style="width:100%">
27     <p>        
28         {% if suser %}
29                         {% blocktrans %}users matching query {{suser}}:{% endblocktrans %}
30         {% endif %}
31     
32         {% if not users.paginator.count %}
33             <span>{% trans "Nothing found." %}</span>
34         {% endif %}
35     </p>
36     <div class="userList">
37         {% for user in users.paginator.page %}
38         <div class="user">
39             <ul>
40                 <li class="thumb"><a href="{{ user.get_profile_url }} ">{% gravatar user 32 %}</a></li>
41                 <li><a {% if user.is_suspended %}class="suspended-user" {% endif %}href="{{ user.get_profile_url }}">{{ user.decorated_name }}</a></li>
42                 <li>{% get_score_badge user %}</li>
43             </ul>
44         </div>
45         {% endfor %}
46     </div>
47 </div>
48 {% endblock %}
49 {% block tail %}
50 <div class="pager">
51     {{ users.paginator.page_numbers }}
52 </div>              
53 {% endblock %}
54 <!-- end users.html -->