Mercurial > public > sg101
comparison gpp/templates/ygroup/thread.html @ 343:cfad8d605cb8
Fixing #157; added goto the top of page intra-page links on forums and yahoo group templates.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 27 Feb 2011 22:12:18 +0000 |
parents | 0c18dfb1da1c |
children |
comparison
equal
deleted
inserted
replaced
342:8587c7a22094 | 343:cfad8d605cb8 |
---|---|
3 {% block title %}Yahoo Group Archives: {{ thread.title }}{% endblock %} | 3 {% block title %}Yahoo Group Archives: {{ thread.title }}{% endblock %} |
4 {% block custom_css %} | 4 {% block custom_css %} |
5 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" /> | 5 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" /> |
6 {% endblock %} | 6 {% endblock %} |
7 {% block content %} | 7 {% block content %} |
8 <a name="top" class="intra"></a> | |
8 {% if thread.page == 1 %} | 9 {% if thread.page == 1 %} |
9 <h2 class="forum-nav"><a href="{% url 'ygroup-thread_index' %}">Yahoo Group Archives</a> » </h2> | 10 <h2 class="forum-nav"><a href="{% url 'ygroup-thread_index' %}">Yahoo Group Archives</a> » </h2> |
10 {% else %} | 11 {% else %} |
11 <h2 class="forum-nav"><a href="{% url 'ygroup-thread_index' %}">Yahoo Group Archives</a> » | 12 <h2 class="forum-nav"><a href="{% url 'ygroup-thread_index' %}">Yahoo Group Archives</a> » |
12 <a href="{% url 'ygroup-thread_index' %}?page={{ thread.page }}">Page {{ thread.page }}</a> »</h2> | 13 <a href="{% url 'ygroup-thread_index' %}?page={{ thread.page }}">Page {{ thread.page }}</a> »</h2> |
19 <dl> | 20 <dl> |
20 {% for post in page_obj.object_list %} | 21 {% for post in page_obj.object_list %} |
21 <dt><a name="p{{ post.id }}"></a>{{ post.poster }} - {{ post.creation_date|date:"d M Y H:i:s" }} | 22 <dt><a name="p{{ post.id }}"></a>{{ post.poster }} - {{ post.creation_date|date:"d M Y H:i:s" }} |
22 <a href="{{ post.get_absolute_url }}" rel="nofollow"> | 23 <a href="{{ post.get_absolute_url }}" rel="nofollow"> |
23 <img src="{{ STATIC_URL }}icons/link.png" alt="permalink" title="permalink" /></a></dt> | 24 <img src="{{ STATIC_URL }}icons/link.png" alt="permalink" title="permalink" /></a></dt> |
24 <dd>{{ post.msg|linebreaks }}</dd> | 25 <dd> |
26 {{ post.msg|linebreaks }} | |
27 <p><a href="#top" class="quiet" title="Goto top of page">Top</a></p> | |
28 </dd> | |
25 {% endfor %} | 29 {% endfor %} |
26 </dl> | 30 </dl> |
27 {% include "ygroup/pagination.html" %} | 31 {% include "ygroup/pagination.html" %} |
28 {% endblock %} | 32 {% endblock %} |