witten
/
luminotes
Archived
1
0
Fork 0

No longer showing "settings" link unless you're viewing your wiki.

In account settings note, now showing link to upgrade/downgrade/cancel.
This commit is contained in:
Dan Helfman 2008-05-08 03:37:24 +00:00
parent 18982dc129
commit a4eecfaa65
3 changed files with 11 additions and 1 deletions

4
NEWS
View File

@ -1,3 +1,7 @@
1.3.18: May 7, 2008
* No longer showing "settings" link unless you're viewing your wiki.
* In account settings note, now showing link to upgrade/downgrade/cancel.
1.3.17: May 7, 2008
* Implemented basic user account settings. Now you can change your email
address.

View File

@ -1611,6 +1611,12 @@ Wiki.prototype.display_settings = function () {
createDOM( "a", { "href": "/privacy", "target": "_new" }, "never be shared" ),
". It will only be used for password resets, contacting you about account problems, and the from address in any invite emails you send."
)
),
createDOM( "p", {},
createDOM(
"a", { "href": "/pricing", "target": "_top" },
"Upgrade, downgrade, or cancel your account."
)
)
);

View File

@ -32,7 +32,7 @@ class Header( Div ):
),
u" | ",
) or None,
user.username and Span(
user.username and note_title == u"wiki" and Span(
A(
u"settings",
href = u"#",