Browse Source

Added "what's new" changelog link to thanks download page, and added links between pricing/download pages to each other.

Dan Helfman 9 years ago
parent
commit
81d4e44450
5 changed files with 25 additions and 5 deletions
  1. 1
    1
      static/css/note.css
  2. 1
    1
      static/css/style.css
  3. 8
    0
      view/Download_page.py
  4. 6
    3
      view/Thanks_download_note.py
  5. 9
    0
      view/Upgrade_page.py

+ 1
- 1
static/css/note.css View File

@@ -128,7 +128,7 @@ ol li {
128 128
 
129 129
 .small_text {
130 130
   padding-top: 0.5em;
131
-  font-size: 90%;
131
+  font-size: 72%;
132 132
 }
133 133
 
134 134
 .radio_label {

+ 1
- 1
static/css/style.css View File

@@ -809,7 +809,7 @@ h1 {
809 809
 }
810 810
 
811 811
 .small_text {
812
-  font-size: 90%;
812
+  font-size: 72%;
813 813
   line-height: 140%;
814 814
   font-weight: normal;
815 815
 }

+ 8
- 0
view/Download_page.py View File

@@ -9,6 +9,7 @@ class Download_page( Product_page ):
9 9
 
10 10
     # for now, just assume there's a single download package
11 11
     download_button = download_products[ 0 ].get( "button" )
12
+    news_url = u"http://luminotes.com/hg/luminotes/file/%s/NEWS" % VERSION
12 13
 
13 14
     Product_page.__init__(
14 15
       self,
@@ -176,6 +177,13 @@ class Download_page( Product_page ):
176 177
             ),
177 178
             class_ = u"wide_center_area",
178 179
           ),
180
+          Div(
181
+            u"Don't want to install anything? ",
182
+            A( u"Use Luminotes online", href = u"/pricing" ),
183
+            u".",
184
+            class_ = u"small_text",
185
+            separator = u"",
186
+          ),
179 187
 
180 188
           class_ = u"upgrade_area",
181 189
         ),

+ 6
- 3
view/Thanks_download_note.py View File

@@ -4,6 +4,8 @@ from config.Version import VERSION
4 4
 
5 5
 class Thanks_download_note( Span ):
6 6
   def __init__( self, download_url ):
7
+    news_url = u"http://luminotes.com/hg/luminotes/file/%s/NEWS" % VERSION
8
+
7 9
     Span.__init__(
8 10
       self,
9 11
       H3( u"thank you" ),
@@ -15,9 +17,10 @@ class Thanks_download_note( Span ):
15 17
       ),
16 18
       P(
17 19
         A( u"Download Luminotes Desktop version %s" % VERSION, href = download_url ),
18
-        """
19
-        and get started taking notes with your own personal wiki.
20
-        """,
20
+      ),
21
+      P(
22
+        A( "What's new in this release", href = news_url, target = "_new" ),
23
+        class_ = u"small_text",
21 24
       ),
22 25
       P(
23 26
         u"""

+ 9
- 0
view/Upgrade_page.py View File

@@ -220,6 +220,15 @@ class Upgrade_page( Product_page ):
220 220
             separator = "",
221 221
             class_ = u"yearly_link",
222 222
           ),
223
+
224
+          Div(
225
+            u"Don't want to take notes online? ",
226
+            A( u"Download Luminotes Desktop", href = u"/download" ),
227
+            u".",
228
+            class_ = u"small_text",
229
+            separator = u"",
230
+          ),
231
+
223 232
           class_ = u"upgrade_area",
224 233
         ),
225 234