changeset 669:e3b84c7488e8

show_version shows version info similar to SystemInfo now
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 18 May 2006 20:27:25 +0200
parents d7c11207bbb7
children 687633456631 b4a6bad53f91 45df95cd2ed8 28de47f4ff1a
files MoinMoin/theme/__init__.py docs/CHANGES
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Wed May 17 10:22:34 2006 +0200
+++ b/MoinMoin/theme/__init__.py	Thu May 18 20:27:25 2006 +0200
@@ -693,10 +693,10 @@
         """
         html = ''
         if self.cfg.show_version and not keywords.get('print_mode', 0):
-            html = (u'<div id="version">MoinMoin %s, Copyright 2000-2006 by '
-                    'Juergen Hermann</div>') % (version.revision,)
+            html = (u'<div id="version">MoinMoin Release %s [Revision %s], '
+                     'Copyright 2000-2006 by Juergen Hermann</div>') % (version.release, version.revision, )
         return html
-
+    
     def headscript(self, d):
         """ Return html head script with common functions
 
--- a/docs/CHANGES	Wed May 17 10:22:34 2006 +0200
+++ b/docs/CHANGES	Thu May 18 20:27:25 2006 +0200
@@ -72,6 +72,7 @@
     * fix vanishing strike markup after gui editor usage
     * fix deletion of empty Interwiki links ([wiki:MoinMaster: mm entry page])
     * fix mod_python attachment upload bug (thanks to Nick Phillips)
+    * fix show_version to show it in the same way as SystemInfo
 
 Version 1.5.current:
   Developer notes: