Browse Source

Moved search field up above "notes" heading. Changed "quick link" to "note link".

Dan Helfman 9 years ago
parent
commit
2d164ece5a
2 changed files with 8 additions and 7 deletions
  1. 2
    1
      NEWS
  2. 6
    6
      view/Note_tree_area.py

+ 2
- 1
NEWS View File

@@ -2,7 +2,8 @@
2 2
  * Rewrote the way that the toolbar is implemented, laying the groundwork for
3 3
    themes in a subsequent release.
4 4
  * Changed some of the "+" buttons to be more descriptive: "+ notebook" and
5
-   "+ quick link".
5
+   "+ note link".
6
+ * Moved search field up above "notes" heading.
6 7
  * Fixed a Firefox bug in which removing some bold text and then typing new
7 8
    text would make the new text bold. Now, if you completely remove some bold
8 9
    text (rather than just a portion of it), any new text that you type will be

+ 6
- 6
view/Note_tree_area.py View File

@@ -20,6 +20,10 @@ class Note_tree_area( Div ):
20 20
     Div.__init__(
21 21
       self,
22 22
       Div(
23
+        Div(
24
+          Search_form(),
25
+          class_ = u"link_area_item",
26
+        ),
23 27
         H4(
24 28
           forum_tag and u"posts" or u"notes",
25 29
           Span(
@@ -36,10 +40,6 @@ class Note_tree_area( Div ):
36 40
           ) or None,
37 41
           id = u"note_tree_area_title",
38 42
         ) or None,
39
-        Div(
40
-          Search_form(),
41
-          class_ = u"link_area_item",
42
-        ),
43 43
         ( not forum_tag ) and self.make_tree(
44 44
           [ self.make_item(
45 45
             title = note.title,
@@ -55,8 +55,8 @@ class Note_tree_area( Div ):
55 55
                 type = u"button",
56 56
                 class_ = u"note_button",
57 57
                 id = u"new_note_tree_link_button",
58
-                value = u"+ quick link",
59
-                title = u"Add one of your notes to this note tree.",
58
+                value = u"+ note link",
59
+                title = u"Add one of your notes to this list.",
60 60
               ),
61 61
               Span( id = u"new_note_tree_link_area" ),
62 62
             ) or None,