diff --git a/NEWS b/NEWS index 638fac1..bf903d8 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,5 @@ 1.5.0 beta 2: - * + * Added a Luminotes Desktop download page. 1.5.0 beta 1: August 27, 2008 * Completed the Luminotes Desktop Windows installer. diff --git a/config/Common.py b/config/Common.py index e6ec627..1680780 100644 --- a/config/Common.py +++ b/config/Common.py @@ -112,6 +112,12 @@ settings = { """, "luminotes.download_button": """ +
+ + + + +
""", }, "/files/download": { diff --git a/static/css/product.css b/static/css/product.css index 290b760..094a159 100644 --- a/static/css/product.css +++ b/static/css/product.css @@ -387,6 +387,12 @@ font-size: 75%; } +.version_text { + padding-top: 0.25em; + font-size: 72%; + font-weight: normal; +} + .subscribe_form { margin-top: 0.5em; margin-bottom: 0; diff --git a/view/Download_page.py b/view/Download_page.py index 39d7f06..c4c6aed 100644 --- a/view/Download_page.py +++ b/view/Download_page.py @@ -1,5 +1,6 @@ from Product_page import Product_page from Tags import Div, H1, Img, A, P, Table, Th, Tr, Td, Li, Span, I, Br, Ul, Li, Script, H4, B +from config.Version import VERSION class Download_page( Product_page ): @@ -42,6 +43,10 @@ class Download_page( Product_page ): Th( u" " ), Th( u"Luminotes Desktop", + Div( + "version", VERSION, + class_ = u"version_text", + ), Div( download_button, class_ = u"download_button_area", diff --git a/view/Main_page.py b/view/Main_page.py index 9ee5afd..113feb9 100644 --- a/view/Main_page.py +++ b/view/Main_page.py @@ -178,9 +178,7 @@ class Main_page( Page ): Rounded_div( ( notebook.name == u"trash" ) and u"trash_notebook" or u"current_notebook", ( notebook.name == u"trash" or not notebook.read_write ) \ - and ( - len( notes ) == 1 and A( Strong( notebook.name ), href = notebook_path ) or Strong( notebook.name ) - ) \ + and Strong( notebook.name ) \ or Span( Strong( notebook.name ), id = u"notebook_header_name", title = "Rename this notebook." ), parent_id and Span( u" | ",