Moved "add new notebook" link so it doesn't look like it's the name of a notebook.
This commit is contained in:
parent
bffe9e2f3b
commit
86322f4358
|
@ -1,4 +1,4 @@
|
||||||
from Tags import Div, Span, H4, A
|
from Tags import Div, Span, H4, A, Strong
|
||||||
from Rounded_div import Rounded_div
|
from Rounded_div import Rounded_div
|
||||||
|
|
||||||
|
|
||||||
|
@ -65,6 +65,16 @@ class Link_area( Div ):
|
||||||
class_ = u"link_area_item",
|
class_ = u"link_area_item",
|
||||||
) or None,
|
) or None,
|
||||||
|
|
||||||
|
Div(
|
||||||
|
A(
|
||||||
|
u"add new notebook",
|
||||||
|
href = u"#",
|
||||||
|
id = u"add_notebook_link",
|
||||||
|
title = u"Create a new wiki notebook.",
|
||||||
|
),
|
||||||
|
class_ = u"link_area_item",
|
||||||
|
),
|
||||||
|
|
||||||
notebook.trash_id and Div(
|
notebook.trash_id and Div(
|
||||||
A(
|
A(
|
||||||
u"trash",
|
u"trash",
|
||||||
|
@ -109,15 +119,6 @@ class Link_area( Div ):
|
||||||
),
|
),
|
||||||
class_ = u"link_area_item",
|
class_ = u"link_area_item",
|
||||||
) for nb in linked_notebooks ],
|
) for nb in linked_notebooks ],
|
||||||
( user.username != u"anonymous" ) and Div(
|
|
||||||
A(
|
|
||||||
u"add new notebook",
|
|
||||||
href = u"#",
|
|
||||||
id = u"add_notebook_link",
|
|
||||||
title = u"Create a new wiki notebook.",
|
|
||||||
),
|
|
||||||
class_ = u"link_area_item",
|
|
||||||
) or None,
|
|
||||||
id = u"notebooks_area"
|
id = u"notebooks_area"
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
Reference in New Issue