# HG changeset patch # User Brian Neal # Date 1298844738 0 # Node ID cfad8d605cb8a05e054cd38dddb83420afa611cc # Parent 8587c7a220941a073446eff99c6b8f44689bdac5 Fixing #157; added goto the top of page intra-page links on forums and yahoo group templates. diff -r 8587c7a22094 -r cfad8d605cb8 gpp/templates/forums/display_post.html --- a/gpp/templates/forums/display_post.html Sun Feb 27 01:58:49 2011 +0000 +++ b/gpp/templates/forums/display_post.html Sun Feb 27 22:12:18 2011 +0000 @@ -47,6 +47,7 @@ {% endif %}
+ Top {% if can_reply %} Reply with quote {% endif %} diff -r 8587c7a22094 -r cfad8d605cb8 gpp/templates/forums/navigation_tag.html --- a/gpp/templates/forums/navigation_tag.html Sun Feb 27 01:58:49 2011 +0000 +++ b/gpp/templates/forums/navigation_tag.html Sun Feb 27 22:12:18 2011 +0000 @@ -1,4 +1,5 @@ {% load url from future %} +

SurfGuitar101 Forums » {% for nav_item in nav_list %} {% if not forloop.last %} diff -r 8587c7a22094 -r cfad8d605cb8 gpp/templates/forums/topic.html --- a/gpp/templates/forums/topic.html Sun Feb 27 01:58:49 2011 +0000 +++ b/gpp/templates/forums/topic.html Sun Feb 27 22:12:18 2011 +0000 @@ -96,5 +96,6 @@ {% endif %} +Top

{% endblock %} diff -r 8587c7a22094 -r cfad8d605cb8 gpp/templates/ygroup/thread.html --- a/gpp/templates/ygroup/thread.html Sun Feb 27 01:58:49 2011 +0000 +++ b/gpp/templates/ygroup/thread.html Sun Feb 27 22:12:18 2011 +0000 @@ -5,6 +5,7 @@ {% endblock %} {% block content %} + {% if thread.page == 1 %}

Yahoo Group Archives »

{% else %} @@ -21,7 +22,10 @@
{{ post.poster }} - {{ post.creation_date|date:"d M Y H:i:s" }} permalink
-
{{ post.msg|linebreaks }}
+
+ {{ post.msg|linebreaks }} +

Top

+
{% endfor %} {% include "ygroup/pagination.html" %} diff -r 8587c7a22094 -r cfad8d605cb8 static/css/base.css --- a/static/css/base.css Sun Feb 27 01:58:49 2011 +0000 +++ b/static/css/base.css Sun Feb 27 22:12:18 2011 +0000 @@ -405,3 +405,6 @@ margin-top: 3px; margin-bottom: 3px; } +a.intra { + text-decoration: none; +}