changeset 306:2f1b790d9746

arnica css: html-show-alias renamed to description
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 27 Nov 2008 00:12:00 +0100
parents e94b38f4ba6b
children 3126b6ff38fa
files data/plugin/macro/Image.py data/plugin/parser/text_x_arnica.py htdocs/arnica/css/text_x_arnica.css
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/macro/Image.py	Thu Nov 27 00:08:52 2008 +0100
+++ b/data/plugin/macro/Image.py	Thu Nov 27 00:12:00 2008 +0100
@@ -249,7 +249,7 @@
     img = Image(macro.request, itemname, caption=alt)
     return "%s%s%s%s%s%s" % ('<div class="thumbnail">', 
                              macro.formatter.image(src=img.url((width, height)), alt=img.caption),
-                             '<div class="html-show-alias">',
+                             '<div class="decription">',
                              macro.formatter.text(description),
                              '</div>',
                              '</div>')
--- a/data/plugin/parser/text_x_arnica.py	Thu Nov 27 00:08:52 2008 +0100
+++ b/data/plugin/parser/text_x_arnica.py	Thu Nov 27 00:12:00 2008 +0100
@@ -208,7 +208,7 @@
 
         html = ''
         if self.show_text:
-            html = '<div class="html-show-alias"> %(this_alias)s</div>' % {
+            html = '<div class="description"> %(this_alias)s</div>' % {
                     "this_alias": self.to_wikitext(self.arnica_image[image][3])}
         return html
 
--- a/htdocs/arnica/css/text_x_arnica.css	Thu Nov 27 00:08:52 2008 +0100
+++ b/htdocs/arnica/css/text_x_arnica.css	Thu Nov 27 00:12:00 2008 +0100
@@ -45,7 +45,7 @@
     margin: 0.2em;
 }
 
-.arnica .html-show-alias {
+.arnica .description {
     text-align: left;
     padding: 0.2em;
     line-height: 1.2;