witten
/
luminotes
Archived
1
0
Fork 0

Not showing "recent notes" or note tree instructions while in trash.

This commit is contained in:
Dan Helfman 2008-04-15 21:05:28 +00:00
parent ea4ad4c683
commit 33727efcd7
2 changed files with 12 additions and 4 deletions

6
NEWS
View File

@ -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
* Several cosmetic and layout changes to the wiki editing page.
* Added rss icon to blog subscribe link.

View File

@ -26,15 +26,17 @@ class Note_tree_area( Div ):
root_note_id = note.object_id,
) for note in root_notes ],
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",
class_ = u"small_text link_area_item" + ( ( len( root_notes ) > 0 ) and u" undisplayed" or u"" ),
) or None,
tree_id = "note_tree_root_table",
),
H4( u"recent notes",
id = u"recent_notes_area_title",
),
( notebook.name != u"trash" ) and Span(
H4( u"recent notes",
id = u"recent_notes_area_title",
),
) or None,
self.make_tree(
[ self.make_item(
title = note.title,