From 25d72da73eeb51277d42c13abca0f000950c5c78 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 24 Apr 2008 23:02:53 +0000 Subject: [PATCH] Reducing the number of links in the header by consolidating several into one "support" link. --- NEWS | 4 ++++ static/html/contact info.html | 5 +---- tools/initdb.py | 1 + tools/updatedb.py | 1 + view/Header.py | 4 +--- view/Product_page.py | 1 + 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/NEWS b/NEWS index 29448c4..6d15052 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +1.3.5: April 24, 2008 + * Reducing the number of links in the header by consolidating several into + one "support" link. + 1.3.4: April 24, 2008 * Better support for RSS feeds of notebooks with unicode names. * Now dynamically altering RSS feed link when notebook is renamed. diff --git a/static/html/contact info.html b/static/html/contact info.html index ea538ca..dae387b 100644 --- a/static/html/contact info.html +++ b/static/html/contact info.html @@ -1,9 +1,6 @@

contact info

-

Have a question? First, please check the Luminotes faq to see if it's answered there.

- -

Still need some help? Have a comment or feature request? I'd love +

Have a question? Have a comment or feature request? I'd love to hear from you! You can contact me directly at support@luminotes.com. Please note that you may receive an automated email asking you to confirm your diff --git a/tools/initdb.py b/tools/initdb.py index 8336161..157687a 100644 --- a/tools/initdb.py +++ b/tools/initdb.py @@ -21,6 +21,7 @@ class Initializer( object ): ( u"password reset.html", False ), ( u"advanced browser features.html", False ), ( u"supported browsers.html", False ), + ( u"support.html", False ), ] def __init__( self, database, nuke = False ): diff --git a/tools/updatedb.py b/tools/updatedb.py index fc4205c..23ee1da 100755 --- a/tools/updatedb.py +++ b/tools/updatedb.py @@ -22,6 +22,7 @@ class Updater( object ): ( u"password reset.html", False ), ( u"advanced browser features.html", False ), ( u"supported browsers.html", False ), + ( u"support.html", False ), ] def __init__( self, database ): diff --git a/view/Header.py b/view/Header.py index da661b3..a1884a6 100644 --- a/view/Header.py +++ b/view/Header.py @@ -62,9 +62,7 @@ class Header( Div ): ( note_title == u"home" ) and Span( u"home", class_ = u"bold_link" ) or A( u"home", href = u"/" ), u" | ", ( note_title == u"tour" ) and Span( u"tour", class_ = u"bold_link" ) or A( u"tour", href = u"/tour" ), u" | ", ( user.username in ( None, u"anonymous" ) ) and Span( ( note_title == u"wiki" ) and Span( u"demo", class_ = u"bold_link" ) or A( u"demo", href = u"/users/demo" ), u" | " ) or None, - ( note_title == u"faq" ) and Span( u"faq", class_ = u"bold_link" ) or A( u"faq", href = u"/faq" ), u" | ", - ( note_title == u"guide" ) and Span( u"guide", class_ = u"bold_link" ) or A( u"guide", href = u"/guide" ), u" | ", - ( note_title == u"contact" ) and Span( u"contact", class_ = u"bold_link" ) or A( u"contact", href = u"/contact_info" ), u" | ", + ( note_title == u"support" ) and Span( u"support", class_ = u"bold_link" ) or A( u"support", href = u"/support" ), u" | ", ( note_title == u"team" ) and Span( u"team", class_ = u"bold_link" ) or A( u"team", href = u"/meet_the_team" ), u" | ", ( note_title == u"blog" ) and Span( u"blog", class_ = u"bold_link" ) or A( u"blog", href = u"/blog" ), u" | ", ( note_title == u"privacy" ) and Span( u"privacy", class_ = u"bold_link" ) or A( u"privacy", href = u"/privacy" ), diff --git a/view/Product_page.py b/view/Product_page.py index 6f05124..405e9e6 100644 --- a/view/Product_page.py +++ b/view/Product_page.py @@ -23,6 +23,7 @@ class Product_page( Page ): u"Copyright ©2008 Luminotes", u" | ", A( u"download", href = u"/download" ), u" | ", A( u"contact", href = u"/contact_info" ), u" | ", + A( u"support", href = u"/support" ), u" | ", A( u"team", href = u"/meet_the_team" ), u" | ", A( u"blog", href = u"/blog" ), u" | ", A( u"privacy", href = u"/privacy" ),