Reorganized and renamed some notebook links on the right side of the page.
This commit is contained in:
parent
cf7cdefd28
commit
708de3b7e7
3
NEWS
3
NEWS
|
@ -1,6 +1,7 @@
|
|||
1.4.8: June ??, 2008:
|
||||
1.4.8: June 23, 2008:
|
||||
* Replaced "add new notebook" link with new notebook button next to
|
||||
"notebooks" heading.
|
||||
* Reorganized and renamed some notebook links on the right side of the page.
|
||||
|
||||
1.4.7: June 21, 2008:
|
||||
* New favicon.ico image that looks slightly less dated.
|
||||
|
|
|
@ -2357,7 +2357,7 @@ Wiki.prototype.end_notebook_rename = function () {
|
|||
// rename the notebook in the header
|
||||
var notebook_header_name = createDOM(
|
||||
"span",
|
||||
{ "id": "notebook_header_name" },
|
||||
{ "id": "notebook_header_name", "title": "Rename this notebook." },
|
||||
createDOM( "strong", {}, new_notebook_name )
|
||||
);
|
||||
replaceChildNodes( "notebook_header_area", notebook_header_name );
|
||||
|
|
|
@ -60,26 +60,6 @@ class Link_area( Div ):
|
|||
) or None ),
|
||||
|
||||
notebook.read_write and Span(
|
||||
( notebook.owner and notebook.name != u"trash" ) and Div(
|
||||
A(
|
||||
u"rename notebook",
|
||||
href = u"#",
|
||||
id = u"rename_notebook_link",
|
||||
title = u"Change the name of this notebook.",
|
||||
),
|
||||
class_ = u"link_area_item",
|
||||
) or None,
|
||||
|
||||
( notebook.owner and notebook.name != u"trash" ) and Div(
|
||||
A(
|
||||
u"delete notebook",
|
||||
href = u"#",
|
||||
id = u"delete_notebook_link",
|
||||
title = u"Move this notebook to the trash.",
|
||||
),
|
||||
class_ = u"link_area_item",
|
||||
) or None,
|
||||
|
||||
Div(
|
||||
A(
|
||||
u"nothing but notes",
|
||||
|
@ -90,6 +70,26 @@ class Link_area( Div ):
|
|||
class_ = u"link_area_item",
|
||||
),
|
||||
|
||||
( notebook.owner and notebook.name != u"trash" ) and Div(
|
||||
A(
|
||||
u"rename",
|
||||
href = u"#",
|
||||
id = u"rename_notebook_link",
|
||||
title = u"Change the name of this notebook.",
|
||||
),
|
||||
class_ = u"link_area_item",
|
||||
) or None,
|
||||
|
||||
( notebook.owner and notebook.name != u"trash" ) and Div(
|
||||
A(
|
||||
u"delete",
|
||||
href = u"#",
|
||||
id = u"delete_notebook_link",
|
||||
title = u"Move this notebook to the trash.",
|
||||
),
|
||||
class_ = u"link_area_item",
|
||||
) or None,
|
||||
|
||||
( notebook.owner and user.username ) and Div(
|
||||
A(
|
||||
u"share",
|
||||
|
|
Reference in New Issue