diff --git a/NEWS b/NEWS index 9caaf57..8b0cf11 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +1.6.12: + * Added a "start a new discussion" link to each discussion forum page. + 1.6.11: April 28, 2009 * Rewrote the way that the toolbar is implemented, laying the groundwork for themes in a subsequent release. diff --git a/view/Forum_page.py b/view/Forum_page.py index 4177114..e7d8d1b 100644 --- a/view/Forum_page.py +++ b/view/Forum_page.py @@ -3,7 +3,7 @@ import cherrypy from datetime import datetime from Product_page import Product_page from Page_navigation import Page_navigation -from Tags import Div, H1, A, P, Span, Link, Img +from Tags import Div, H1, A, P, Span, Link, Img, B class Forum_page( Product_page ): @@ -34,7 +34,7 @@ class Forum_page( Product_page ): Div( P( base_path.startswith( u"/forums/" ) and Span( - A( u"start a new discussion", href = os.path.join( base_path, u"create_thread" ) ), + B( A( u"start a new discussion", href = os.path.join( base_path, u"create_thread" ) ) ), u" | ", A( u"all forums", href = u"/forums/" ), u" | ", diff --git a/view/Main_page.py b/view/Main_page.py index d3f821c..bc90603 100644 --- a/view/Main_page.py +++ b/view/Main_page.py @@ -291,7 +291,9 @@ class Main_page( Page ): class_ = u"blank_note_stub_hidden_border", ) or None, ( forum_tag and user.username and user.username != u"anonymous" ) and \ - P( u"To write a comment, click that large \"+\" button to the left. To publish your comment, click the save button.", class_ = u"small_text" ) or None, + P( u"To write a comment, click that large \"+\" button to the left. To publish your comment, click the save button. Or, ", + A( u"start a new discussion", href = u"/forums/%s/create_thread" % forum_tag.value ), u".", separator = "", + class_ = u"small_text" ) or None, ( forum_tag and ( not user.username or user.username == u"anonymous" ) ) and \ P( u"To write a comment, please login first. No account?", A( u"Sign up", href = u"/pricing" ), u"to get a free account.", class_ = "small_text" ) or None, Page_navigation(