changeset 174:c38b672ffb3c

arnica_slides: fixed no prefix of : for image_for_webnail
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Mon, 14 Jul 2008 20:26:28 +0200
parents f5cdee2715a3
children 377e5f674c66
files data/plugin/action/arnica_slides.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/arnica_slides.py	Mon Jul 14 20:24:17 2008 +0200
+++ b/data/plugin/action/arnica_slides.py	Mon Jul 14 20:26:28 2008 +0200
@@ -256,18 +256,18 @@
     for filename in text:
         if not image_for_webnail:
             url = cache.url(request, filename)
-            prefix = 'Webnail'
+            prefix = 'Webnail:'
         else:
             url = AttachFile.getAttachUrl(pagename, filename, request)
             prefix = ''
 
         if url == this_image:
-            txt += '<option selected value="%(name)s">%(prefix)s: %(alias)s' % {
+            txt += '<option selected value="%(name)s">%(prefix)s %(alias)s' % {
                     "prefix": prefix,
                     "name": this_image,
                     "alias": original_images[i]}
         else:
-            txt += '<option value="%(name)s">%(prefix)s: %(alias)s' % {
+            txt += '<option value="%(name)s">%(prefix)s %(alias)s' % {
                     "prefix": prefix,
                     "name": this_image,
                     "alias": original_images[i]}