diff MoinMoin/theme/__init__.py @ 3624:2b577967030b

Add a class to the "Clear message" link, make the link text smaller and lower it a little in the Modern theme.
author Radomir Dopieralski <moindev@sheep.art.pl>
date Mon, 19 May 2008 21:13:26 +0200
parents 8ff53b14fc44
children 7d77145af210 3b36f0cfc656
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Mon May 19 19:12:01 2008 +0200
+++ b/MoinMoin/theme/__init__.py	Mon May 19 21:13:26 2008 +0200
@@ -574,7 +574,7 @@
         msgs = d['msg']
 
         result = u""
-        close = d['page'].link_to(self.request, text=_('Clear message'))
+        close = d['page'].link_to(self.request, text=_('Clear message'), css_class="clear-link")
         for msg, msg_class in msgs:
             try:
                 result += u'<p>%s</p>' % msg.render()