From 3e4fdd1d72fd41602cc6d426792ba378fb33016c Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 30 Oct 2008 15:31:35 -0700 Subject: [PATCH] Don't display "When you're done with your comment.." message if you're not logged in. --- view/Main_page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/Main_page.py b/view/Main_page.py index 3574362..2e029a4 100644 --- a/view/Main_page.py +++ b/view/Main_page.py @@ -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" ),