diff options
-rw-r--r-- | askbot/skins/default/templates/tags.html | 42 | ||||
-rw-r--r-- | askbot/skins/default/templates/users.html | 76 |
2 files changed, 61 insertions, 57 deletions
diff --git a/askbot/skins/default/templates/tags.html b/askbot/skins/default/templates/tags.html index 2bd4b2ec..6b89bdba 100644 --- a/askbot/skins/default/templates/tags.html +++ b/askbot/skins/default/templates/tags.html @@ -4,26 +4,28 @@ {% block title %}{% spaceless %}{% trans %}Tags{% endtrans %}{% endspaceless %}{% endblock %} {% block content %} <!-- Tabs --> -{% if stag %} - <h1 class="section-title">{% trans %}Tags, matching "{{ stag }}"{% endtrans %}</h1> -{% else %} - <h1 class="section-title">{% trans %}Tag list{% endtrans %}</h1> -{% endif %} -<div class="tabBar tabBar-tags"> - <div class="tabsA"> - <span class="label">{% trans %}Sort by »{% endtrans %}</span> - <a - id="sort_name" - href="{% url tags %}?sort=name" - {% if tab_id == 'name' %}class="on"{% endif %} - title="{% trans %}sorted alphabetically{% endtrans %}" - ><span>{% trans %}by name{% endtrans %}</span></a> - <a - id="sort_used" - href="{% url tags %}?sort=used" - {% if tab_id == 'used' %}class="on"{% endif %} - title="{% trans %}sorted by frequency of tag use{% endtrans %}" - ><span>{% trans %}by popularity{% endtrans %}</span></a> +<div id="content-header"> + {% if stag %} + <h1 class="section-title">{% trans %}Tags, matching "{{ stag }}"{% endtrans %}</h1> + {% else %} + <h1 class="section-title">{% trans %}Tag list{% endtrans %}</h1> + {% endif %} + <div class="tabBar tabBar-tags"> + <div class="tabsA"> + <span class="label">{% trans %}Sort by »{% endtrans %}</span> + <a + id="sort_name" + href="{% url tags %}?sort=name" + {% if tab_id == 'name' %}class="on"{% endif %} + title="{% trans %}sorted alphabetically{% endtrans %}" + ><span>{% trans %}by name{% endtrans %}</span></a> + <a + id="sort_used" + href="{% url tags %}?sort=used" + {% if tab_id == 'used' %}class="on"{% endif %} + title="{% trans %}sorted by frequency of tag use{% endtrans %}" + ><span>{% trans %}by popularity{% endtrans %}</span></a> + </div> </div> </div> {% if tag_list_type == 'list' %} diff --git a/askbot/skins/default/templates/users.html b/askbot/skins/default/templates/users.html index 3fa35643..e80e0aec 100644 --- a/askbot/skins/default/templates/users.html +++ b/askbot/skins/default/templates/users.html @@ -11,45 +11,47 @@ <link rel="stylesheet" type="text/css" href="{{"/js/wmd/wmd.css"|media}}" /> {% endblock %} {% block content %} -<h1 class="section-title"> -{% if group %} - {% trans name = group.name|replace('-', ' ')|escape %}Users in group {{name}}{% endtrans %} -{% else %} - {% trans %}Users{% endtrans %} -{% endif %} -</h1> -<div class="tabBar"> - <div class="tabsA"> - <span class="label">{% trans %}Sort by »{% endtrans %}</span> - {% if settings.KARMA_MODE == 'public' %} - <a - id="sort_reputation" - href="{{ request.path }}?sort=reputation" - {% if tab_id == 'reputation' %}class="on"{% endif %} - title="{% trans %}see people with the highest reputation{% endtrans %}" - ><span>{% trans %}karma{% endtrans %}</span></a> - {% endif %} - <a - id="sort_newest" - href="{{ request.path }}?sort=newest" - {% if tab_id == 'newest' %}class="on"{% endif %} - class="off" title="{% trans %}see people who joined most recently{% endtrans %}" - ><span>{% trans %}recent{% endtrans %}</span></a> - <a - id="sort_last" - href="{{ request.path }}?sort=last" - {% if tab_id == 'last' %}class="on"{% endif %} - class="off" title="{% trans %}see people who joined the site first{% endtrans %}" - ><span>{% trans %}oldest{% endtrans %}<span></a> - <a - id="sort_user" - href="{{ request.path }}?sort=user" - {% if tab_id == 'user' %}class="on"{% endif %} - title="{% trans %}see people sorted by name{% endtrans %}" - ><span>{% trans %}by username{% endtrans %}</span></a> +<div id="content-header"> + <h1 class="section-title"> + {% if group %} + {% trans name = group.name|replace('-', ' ')|escape %}Users in group {{name}}{% endtrans %} + {% else %} + {% trans %}Users{% endtrans %} + {% endif %} + </h1> + <div class="tabBar"> + <div class="tabsA"> + <span class="label">{% trans %}Sort by »{% endtrans %}</span> + {% if settings.KARMA_MODE == 'public' %} + <a + id="sort_reputation" + href="{{ request.path }}?sort=reputation" + {% if tab_id == 'reputation' %}class="on"{% endif %} + title="{% trans %}see people with the highest reputation{% endtrans %}" + ><span>{% trans %}karma{% endtrans %}</span></a> + {% endif %} + <a + id="sort_newest" + href="{{ request.path }}?sort=newest" + {% if tab_id == 'newest' %}class="on"{% endif %} + class="off" title="{% trans %}see people who joined most recently{% endtrans %}" + ><span>{% trans %}recent{% endtrans %}</span></a> + <a + id="sort_last" + href="{{ request.path }}?sort=last" + {% if tab_id == 'last' %}class="on"{% endif %} + class="off" title="{% trans %}see people who joined the site first{% endtrans %}" + ><span>{% trans %}oldest{% endtrans %}<span></a> + <a + id="sort_user" + href="{{ request.path }}?sort=user" + {% if tab_id == 'user' %}class="on"{% endif %} + title="{% trans %}see people sorted by name{% endtrans %}" + ><span>{% trans %}by username{% endtrans %}</span></a> + </div> </div> + <div class="clearfix"></div> </div> -<div class="clean"></div> {% if suser %} <p>{% trans %}users matching query {{suser}}:{% endtrans %}</p> {% endif %} |