Commits

luke  committed abc620e

[project @ 342]
Added 'website problems' and 'report abuse' links to the bottom of all pages, fixing ticket #8 and #9

  • Participants
  • Parent commits e47f114

Comments (0)

Files changed (3)

File cciw/cciwmain/templatetags/standardpage.py

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

File media/style.css

 	font-weight: normal;
 }
 
+div.bottomlinks, div.bottomlinks a:link, div.bottomlinks a:visited
+{
+	color: #a0a0a0;
+}
+div.bottomlinks a:hover
+{
+	color: #c0c0c0;
+}
+
 /************************** END COLOURS *******************/
 
 
 	margin-bottom: 1em;
 }
 
-div.atomlink
+div.bottomlinks
 {
 	text-align: right;
 	padding-bottom: 4px;
+	font-size: 80%;
 }
-div.atomlink img
+div.bottomlinks img
 {
-vertical-align: bottom;
-
+	vertical-align: top;
 }
+div.bottomlinks

File templates/cciw/standard.html

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