witten
/
luminotes
Archived
1
0
Fork 0

Luminotes version now defined in a config file and shows up in the Desktop UI.

This commit is contained in:
Dan Helfman 2008-08-25 19:45:20 -07:00
parent 840eabbe5a
commit b42d85d6ff
4 changed files with 8 additions and 8 deletions

6
NEWS
View File

@ -1,9 +1,7 @@
1.?
* Created a Windows application icon and embedded it into the generated
Luminotes executable.
1.5.0:
* Completed the Luminotes Desktop Windows installer.
* Improved logging, so tracebacks in production and desktop mode actually go
to a file. Also removing logs on startup to prevent endless log growth.
*
1.4.27: August 22, 2008
* Fixed a bug in tools/initdb.py and tools/updatedb.py that caused them to

1
config/Version.py Normal file
View File

@ -0,0 +1 @@
VERSION = u"1.5.0"

View File

@ -4,9 +4,7 @@ import os
import sys
from glob import glob
from distutils.core import setup, Distribution
VERSION = "1.5.0"
from config.Version import VERSION
def files( path ):
@ -195,7 +193,7 @@ try:
dist_dir,
self.windows_exe_files,
self.lib_files,
version = VERSION)
version = VERSION)
print "*** creating the inno setup script***"
script.create()
print "*** compiling the inno setup script***"

View File

@ -1,4 +1,5 @@
from Tags import Div, A, Img, Span
from config.Version import VERSION
class Header( Div ):
def __init__( self, user, first_notebook, login_url, logout_url, note_title, rate_plan = None ):
@ -15,6 +16,8 @@ class Header( Div ):
( note_title == u"home" ) and title_image or
A( title_image, href = u"http://luminotes.com/", target = "_new" ),
Div(
u"version", VERSION, u" | ",
A( u"upgrade", href = u"http://luminotes.com/pricing", target = "_new" ), u" | ",
A( u"support", href = u"http://luminotes.com/support", target = "_new" ), u" | ",
A( u"blog", href = u"http://luminotes.com/blog", target = "_new" ),
class_ = u"header_links",