Don't display "When you're done with your comment.." message if you're not logged in.
This commit is contained in:
parent
b4a40d2c25
commit
3e4fdd1d72
|
@ -210,7 +210,7 @@ class Main_page( Page ):
|
|||
id = u"deleted_notebooks",
|
||||
),
|
||||
self.page_navigation( notebook_path, len( notes ), total_notes_count, start, count ),
|
||||
( notebook.read_write == Notebook.READ_WRITE_FOR_OWN_NOTES ) and \
|
||||
( notebook.read_write == Notebook.READ_WRITE_FOR_OWN_NOTES and user.username and user.username != u"anonymous" ) and \
|
||||
Div( u"When you're done with your comment, click the save button to publish it.", class_ = u"small_text" ) or None,
|
||||
Div(
|
||||
Span( id = u"notes_top" ),
|
||||
|
|
Reference in New Issue