From 2d164ece5a54ebc09150000e087c943150e24b2f Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 27 Apr 2009 15:38:28 -0700 Subject: [PATCH] Moved search field up above "notes" heading. Changed "quick link" to "note link". --- NEWS | 3 ++- view/Note_tree_area.py | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/NEWS b/NEWS index 1f4fa21..866cbc6 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,8 @@ * Rewrote the way that the toolbar is implemented, laying the groundwork for themes in a subsequent release. * Changed some of the "+" buttons to be more descriptive: "+ notebook" and - "+ quick link". + "+ note link". + * Moved search field up above "notes" heading. * Fixed a Firefox bug in which removing some bold text and then typing new text would make the new text bold. Now, if you completely remove some bold text (rather than just a portion of it), any new text that you type will be diff --git a/view/Note_tree_area.py b/view/Note_tree_area.py index fb7d674..539b545 100644 --- a/view/Note_tree_area.py +++ b/view/Note_tree_area.py @@ -20,6 +20,10 @@ class Note_tree_area( Div ): Div.__init__( self, Div( + Div( + Search_form(), + class_ = u"link_area_item", + ), H4( forum_tag and u"posts" or u"notes", Span( @@ -36,10 +40,6 @@ class Note_tree_area( Div ): ) or None, id = u"note_tree_area_title", ) or None, - Div( - Search_form(), - class_ = u"link_area_item", - ), ( not forum_tag ) and self.make_tree( [ self.make_item( title = note.title, @@ -55,8 +55,8 @@ class Note_tree_area( Div ): type = u"button", class_ = u"note_button", id = u"new_note_tree_link_button", - value = u"+ quick link", - title = u"Add one of your notes to this note tree.", + value = u"+ note link", + title = u"Add one of your notes to this list.", ), Span( id = u"new_note_tree_link_area" ), ) or None,