changeset 309:da0bb5e04a91

arnica css: html-show-date renamed to show-datetime
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 27 Nov 2008 10:47:54 +0100
parents 81a4a9a1f497
children 2c7089c556e9
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 10:42:07 2008 +0100
+++ b/data/plugin/macro/Image.py	Thu Nov 27 10:47:54 2008 +0100
@@ -252,7 +252,7 @@
                                      '<div class="decription">',
                                      '<div style="width:%spx">' % (width),
                                      macro.formatter.text(description),
-                                     '<div class="html-show-date">',
+                                     '<div class="show-datetime">',
                                      macro.request.user.getFormattedDateTime(img.ctime),
                                      '</div>', '</div>', '</div>', '</div>')
 
--- a/data/plugin/parser/text_x_arnica.py	Thu Nov 27 10:42:07 2008 +0100
+++ b/data/plugin/parser/text_x_arnica.py	Thu Nov 27 10:47:54 2008 +0100
@@ -197,7 +197,7 @@
 
         html = ''
         if self.show_date:
-            html = '<div class="html-show-date">%(this_exif_date)s</div>' % {
+            html = '<div class="show-datetime">%(this_exif_date)s</div>' % {
                 "this_exif_date": self.formatter.text(self.arnica_image[image][2])}
         return html
 
--- a/htdocs/arnica/css/text_x_arnica.css	Thu Nov 27 10:42:07 2008 +0100
+++ b/htdocs/arnica/css/text_x_arnica.css	Thu Nov 27 10:47:54 2008 +0100
@@ -52,7 +52,7 @@
     font-size: 90%;
 }
 
-.arnica .html-show-date {
+.arnica .show-datetime {
     text-align: center;
     padding: 0.2em;
     line-height: 1.2;