]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/users/stats.html
Migrate to Django 1.6
[osqa.git] / forum / skins / default / templates / users / stats.html
index fe34b19f3010f415629ef5ca8d8eb72e366a7b0f..bcc2f52bd4588800fb376d987818be900b24f68c 100644 (file)
@@ -6,7 +6,7 @@
 {% load humanize %}
 {% load question_list_tags %}
                {% block usercontent %}
-
+    <div id="questionsBlock" class="userSection">
         <a name="questions"></a>
         {% spaceless %}
             <h2>
@@ -19,7 +19,7 @@
                     href="{{ view_user.get_asked_url }}?type=rss" title="{% trans "subscribe to question RSS feed" %}"></a>
             </h2>
         {% endspaceless %}
-        <div>{{ questions.paginator.sort_tabs }}</div>
+        <div id="questionTabs">{{ questions.paginator.sort_tabs }}</div>
                <div id="listA" class="user-stats-table">
                    {% for question in questions.paginator.page %}
                        {% question_list_item question favorite_count=yes signature_type=badges %}
@@ -28,7 +28,9 @@
                <br clear="all"/>
                <div class="pager">{{ questions.paginator.page_numbers }}</div>
                <br clear="all"/>
+    </div>
 
+    <div id="answersBlock" class="userSection">
         <a name="answers"></a>
         {% spaceless %}
             <h2>
@@ -39,7 +41,7 @@
                 {% endblocktrans %}
             </h2>
         {% endspaceless %}
-        <div>{{ answers.paginator.sort_tabs }}</div>
+        <div id="answerTabs">{{ answers.paginator.sort_tabs }}</div>
         <div class="user-stats-table">
             {% for answer in answers.paginator.page %}
             <div class="answer-summary">
@@ -61,6 +63,9 @@
         <br clear="all"/>
                <div class="pager">{{ answers.paginator.page_numbers }}</div>
         <br clear="all"/>
+    </div>
+
+
         <a name="votes"></a>
         {% spaceless %}
             <h2>
                         <a rel="tag" 
                             class="tag-link-{{ tag.name }}"
                                                        title="{% blocktrans with tag.name as tag_name %}see other questions with {{view_user}}'s contributions tagged '{{ tag_name }}' {% endblocktrans %}"
-                                                       href="{% url tag_questions tag|urlencode %}?user={{view_user.username}}">{{tag.name}}</a>
+                                                       href="{% url "tag_questions" tag|urlencode %}?user={{view_user.username}}">{{tag.name}}</a>
                         <span class="tag-number">&#215; {{ tag.user_tag_usage_count|intcomma }}</span><br/>
                             {% if forloop.counter|divisibleby:"10" %}
                                 </td>
                     <td style="line-height:35px; padding-right: 20px;">
                         {% for award, count in awards %}
                             {% spaceless %}
-                            <a href="{% url badges %}{{award.id}}/{{award.name|slugify}}" title="{{ award.description }}" class="medal">
+                            <a href="{% url "badges" %}{{award.id}}/{{award.name|slugify}}" title="{{ award.description }}" class="medal">
                                 <span class="badge{{ award.type }}">&#9679;</span>&nbsp;{{ award.name }}
                             </a>
                             {% ifnotequal count 1 %}