changeset 14:86118cd8912e

display what tags we are talking about
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 05 May 2010 22:45:25 -0700
parents af87537031b0
children 1701e5b0b0eb
files taginthemiddle/handlers.py taginthemiddle/templates/tags.html
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/taginthemiddle/handlers.py	Wed May 05 22:41:17 2010 -0700
+++ b/taginthemiddle/handlers.py	Wed May 05 22:45:25 2010 -0700
@@ -99,6 +99,7 @@
         self.tags = path[index+1:]
         if not self.tags:
             raise HandlerMatchException
+        self.data['tags'] = self.tags
 
     @classmethod
     def match(cls, app, request):
--- a/taginthemiddle/templates/tags.html	Wed May 05 22:41:17 2010 -0700
+++ b/taginthemiddle/templates/tags.html	Wed May 05 22:45:25 2010 -0700
@@ -1,6 +1,6 @@
 <html>
 <head>
-<title>Tags</title>
+<title>${' + '.join(tags)}</title>
 </head>
 <body>
 </body>