changeset 332:a944836db9bb

test_x_arnica: bug fix for missing album title applied patch by Johannes Berg
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 20 Jan 2009 19:13:20 +0100
parents f7f6b4d67c01
children a82e059e4477
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Tue Jan 20 00:07:04 2009 +0100
+++ b/data/plugin/parser/text_x_arnica.py	Tue Jan 20 19:13:20 2009 +0100
@@ -223,10 +223,11 @@
             title = '<div class="title">%(n)d images (%(album_title)s)</div>' % {"n": len(self.arnica_image),
                                                         "album_title": self.album_title or self.pagename}
         html = """
-<div class="thumbnail">
+<div class="thumbnail" style="width:%(width)spx">
+    %(title)s
     <form action="%(url)s" method="POST" enctype="multipart/form-data">
       <div class="imagecont" style="height:%(width)spx;">
-        <div class="image" style="width:%(width)spx;"> %(title)s
+        <div class="image" style="width:%(width)spx;">
              <input type="hidden" name="action" value="arnica_slides">
              <input type="hidden" name="do" value="slide_show">
              <input type="hidden" name="alias" value="%(description)s">