[Hejes-devel] [776] added version string to footer
hejes-devel at nytud.hu
hejes-devel at nytud.hu
Wed May 29 13:05:24 CEST 2013
Revision: 776
Author: mihaltz
Date: 2013-05-29 13:05:24 +0200 (Wed, 29 May 2013)
Log Message:
-----------
added version string to footer
changed (C) to © in footer
Modified Paths:
--------------
trunk/web2py/applications/helyesiras_webdev/views/layout.html
Added Paths:
-----------
trunk/web2py/applications/helyesiras_webdev/modules/VERSION.py
Added: trunk/web2py/applications/helyesiras_webdev/modules/VERSION.py
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/modules/VERSION.py (rev 0)
+++ trunk/web2py/applications/helyesiras_webdev/modules/VERSION.py 2013-05-29 11:05:24 UTC (rev 776)
@@ -0,0 +1,6 @@
+"""
+Constants to define the version number and release date.
+Their values will be shown on the webpage, see views/layout.html
+"""
+HELYES_APP_VERSION = "1.0.4"
+HELYES_APP_DATE = "2013-05-29"
Modified: trunk/web2py/applications/helyesiras_webdev/views/layout.html
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/views/layout.html 2013-05-28 09:56:09 UTC (rev 775)
+++ trunk/web2py/applications/helyesiras_webdev/views/layout.html 2013-05-29 11:05:24 UTC (rev 776)
@@ -415,14 +415,20 @@
</div></div><!-- page -->
- <div id="footer"><div class="wrapper">
+ <div id="footer">
+ <div class="wrapper">
{{block footer}} <!-- this is default footer -->
- (C) 2013 MTA Nyelvtudományi Intézet
+ <div style="float: left;"> © 2013 MTA Nyelvtudományi Intézet</div>
+ <div style="float: right;">
+ {{from VERSION import HELYES_APP_VERSION, HELYES_APP_DATE}}
+ v{{=HELYES_APP_VERSION}} {{=HELYES_APP_DATE}}
+ </div>
<div style="clear: both;"></div><!-- Clear the divs -->
{{end}}
-
- </div></div><!-- footer -->
- </div><!-- wrapper -->
+ </div>
+ </div><!-- footer -->
+
+ </div><!-- wrapper -->
</div><!-- container -->
<!--[if lt IE 7 ]>
More information about the Hejes-devel
mailing list