Not showing "recent notes" or note tree instructions while in trash.
This commit is contained in:
parent
ea4ad4c683
commit
33727efcd7
6
NEWS
6
NEWS
|
@ -1,3 +1,9 @@
|
||||||
|
1.3.0: April 1?, 2008
|
||||||
|
* Created a new hierarchical note tree area for browsing notes.
|
||||||
|
* Added a list of recent notes.
|
||||||
|
* Made links to external sites displayed with a little icon, at least in
|
||||||
|
Firefox.
|
||||||
|
|
||||||
1.2.24: April 4, 2008
|
1.2.24: April 4, 2008
|
||||||
* Several cosmetic and layout changes to the wiki editing page.
|
* Several cosmetic and layout changes to the wiki editing page.
|
||||||
* Added rss icon to blog subscribe link.
|
* Added rss icon to blog subscribe link.
|
||||||
|
|
|
@ -26,15 +26,17 @@ class Note_tree_area( Div ):
|
||||||
root_note_id = note.object_id,
|
root_note_id = note.object_id,
|
||||||
) for note in root_notes ],
|
) for note in root_notes ],
|
||||||
Div(
|
Div(
|
||||||
u'Add a note here: Click the "options" tab on a note, then "show on startup".',
|
( notebook.name != u"trash" ) and u'Add a note here: Click the "options" tab on a note, then "show on startup".' or None,
|
||||||
id = "note_tree_instructions",
|
id = "note_tree_instructions",
|
||||||
class_ = u"small_text link_area_item" + ( ( len( root_notes ) > 0 ) and u" undisplayed" or u"" ),
|
class_ = u"small_text link_area_item" + ( ( len( root_notes ) > 0 ) and u" undisplayed" or u"" ),
|
||||||
) or None,
|
) or None,
|
||||||
tree_id = "note_tree_root_table",
|
tree_id = "note_tree_root_table",
|
||||||
),
|
),
|
||||||
H4( u"recent notes",
|
( notebook.name != u"trash" ) and Span(
|
||||||
id = u"recent_notes_area_title",
|
H4( u"recent notes",
|
||||||
),
|
id = u"recent_notes_area_title",
|
||||||
|
),
|
||||||
|
) or None,
|
||||||
self.make_tree(
|
self.make_tree(
|
||||||
[ self.make_item(
|
[ self.make_item(
|
||||||
title = note.title,
|
title = note.title,
|
||||||
|
|
Reference in New Issue