From 81d4e444502f6a10642e5347bc1c09093e145f6d Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sat, 27 Sep 2008 01:33:00 -0700 Subject: [PATCH] Added "what's new" changelog link to thanks download page, and added links between pricing/download pages to each other. --- static/css/note.css | 2 +- static/css/style.css | 2 +- view/Download_page.py | 8 ++++++++ view/Thanks_download_note.py | 9 ++++++--- view/Upgrade_page.py | 9 +++++++++ 5 files changed, 25 insertions(+), 5 deletions(-) diff --git a/static/css/note.css b/static/css/note.css index 60d47d8..e0c6ef1 100644 --- a/static/css/note.css +++ b/static/css/note.css @@ -128,7 +128,7 @@ ol li { .small_text { padding-top: 0.5em; - font-size: 90%; + font-size: 72%; } .radio_label { diff --git a/static/css/style.css b/static/css/style.css index b76c141..e6d88ca 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -809,7 +809,7 @@ h1 { } .small_text { - font-size: 90%; + font-size: 72%; line-height: 140%; font-weight: normal; } diff --git a/view/Download_page.py b/view/Download_page.py index ad46554..dcb75af 100644 --- a/view/Download_page.py +++ b/view/Download_page.py @@ -9,6 +9,7 @@ class Download_page( Product_page ): # for now, just assume there's a single download package download_button = download_products[ 0 ].get( "button" ) + news_url = u"http://luminotes.com/hg/luminotes/file/%s/NEWS" % VERSION Product_page.__init__( self, @@ -176,6 +177,13 @@ class Download_page( Product_page ): ), class_ = u"wide_center_area", ), + Div( + u"Don't want to install anything? ", + A( u"Use Luminotes online", href = u"/pricing" ), + u".", + class_ = u"small_text", + separator = u"", + ), class_ = u"upgrade_area", ), diff --git a/view/Thanks_download_note.py b/view/Thanks_download_note.py index a000e88..80bec4d 100644 --- a/view/Thanks_download_note.py +++ b/view/Thanks_download_note.py @@ -4,6 +4,8 @@ from config.Version import VERSION class Thanks_download_note( Span ): def __init__( self, download_url ): + news_url = u"http://luminotes.com/hg/luminotes/file/%s/NEWS" % VERSION + Span.__init__( self, H3( u"thank you" ), @@ -15,9 +17,10 @@ class Thanks_download_note( Span ): ), P( A( u"Download Luminotes Desktop version %s" % VERSION, href = download_url ), - """ - and get started taking notes with your own personal wiki. - """, + ), + P( + A( "What's new in this release", href = news_url, target = "_new" ), + class_ = u"small_text", ), P( u""" diff --git a/view/Upgrade_page.py b/view/Upgrade_page.py index da0b271..3ae2743 100644 --- a/view/Upgrade_page.py +++ b/view/Upgrade_page.py @@ -220,6 +220,15 @@ class Upgrade_page( Product_page ): separator = "", class_ = u"yearly_link", ), + + Div( + u"Don't want to take notes online? ", + A( u"Download Luminotes Desktop", href = u"/download" ), + u".", + class_ = u"small_text", + separator = u"", + ), + class_ = u"upgrade_area", ),