diff MoinMoin/action/AttachFile.py @ 3293:65adbf84a0fb

AttachFile: Make the download link more prominent
author Radomir Dopieralski <moindev@sheep.art.pl>
date Tue, 18 Mar 2008 01:25:15 +0100
parents 99e7f184541f
children f4212fb5ecb0
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Mon Mar 17 20:31:41 2008 +0100
+++ b/MoinMoin/action/AttachFile.py	Tue Mar 18 01:25:15 2008 +0100
@@ -944,7 +944,7 @@
     request.write('<h2>' + _("Attachment '%(filename)s'") % {'filename': filename} + '</h2>')
     # show a download link above the content
     label = _('Download')
-    link = (fmt.url(1, getAttachUrl(pagename, filename, request, do='get')) +
+    link = (fmt.url(1, getAttachUrl(pagename, filename, request, do='get'), css_class="download") +
             fmt.text(label) +
             fmt.url(0))
     request.write('%s<br><br>' % link)