changeset 603:da3a8a125fdb

css class 'attachment' for attached images. todo: use it in css.
author tw@waldmann-edv.de
date Tue, 25 Apr 2006 09:35:23 +0200
parents 24f37913f1ef
children bca80491e9fc
files MoinMoin/formatter/text_html.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/formatter/text_html.py	Mon Apr 24 21:41:30 2006 +0200
+++ b/MoinMoin/formatter/text_html.py	Tue Apr 25 09:35:23 2006 +0200
@@ -656,7 +656,8 @@
                 linktext % {'filename': self.text(fname)})
         return self.image(
             title="attachment:%s" % url,
-            src=AttachFile.getAttachUrl(pagename, filename, self.request, addts=1))
+            src=AttachFile.getAttachUrl(pagename, filename, self.request, addts=1),
+            css="attachment")
     
     def attachment_drawing(self, url, text, **kw):
         _ = self.request.getText