Commits

luke  committed aa810b7

[project @ 354]
Improved appearance of 'Subscribe' links.

  • Participants
  • Parent commits 97bc049

Comments (0)

Files changed (2)

File cciw/cciwmain/templatetags/standardpage.py

     def render(self, context):
         title = context.get('atom_feed_title', None)
         if title:
-            return ('| <a href="/website/feeds/" title="What\'s this?">?</a> ' + 
-                    '<a class="atomlink" href="%(url)s?format=atom" title="%(title)s" >' + 
-                    '<img src="%(imgurl)s" alt="Subscribe" /></a> ') \
+            return ('<a class="atomlink" href="%(url)s?format=atom" title="%(title)s" >' + 
+                    ' <img src="%(imgurl)s" alt="Subscribe" /> Subscribe</a> ' +
+                    ' <a href="/website/feeds/" title="Help on subscribing">(What\'s that?)</a> |') \
             % {'url': context['request'].path, 'title': title, 'imgurl': settings.MEDIA_URL + "images/feed.gif" }
         else:
             return ''

File templates/cciw/standard.html

 					{{ contentBody }}
 				{% endblock %}
 			</div>
-			<div class="bottomlinks"><a href="/website/help/" title="Get help or report problems with the site">Help</a> | <a href="/website/abuse/" title="How to report absue of the web site">Report abuse</a> {% atomfeedlinkvisible %}</div>
+			<div class="bottomlinks">{% atomfeedlinkvisible %} <a href="/website/help/" title="Get help or report problems with the site">Help</a> | <a href="/website/abuse/" title="How to report absue of the web site">Report abuse</a></div>
 		</div>
 	</div>
 </div>