From 60e07faf798b859cfb72a1a18050ffed196b0d19 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Tue, 6 May 2008 06:23:51 +0000 Subject: [PATCH] Made it clearer whether the invitee has accepted a particular invite yet. --- NEWS | 9 +++++++++ static/css/note.css | 4 ++++ static/js/Wiki.js | 4 +++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 7a43b3e..ab54773 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,15 @@ would give a "list index out of range" error instead of an access error. * Fixed a bug where the Valid_id() validator would raise a TypeError when given a None value. Now raising a ValueError instead. + * Fixed a bug where saving a note unsuccessfully could cause the note's + title show up in the recent updates list. + * If there is an error saving a note, then even if "hide" was clicked, the + note is not hidden. Instead, the note stays open so that the user can try + again. + * Fixed a bug where renaming a note to have no title caused the title to + show up as completely blank in the recent updates list. Now it shows up as + "untitled note". + * Made it clearer whether the invitee has accepted a particular invite yet. 1.3.13: May 5, 2008 * Instructions for enabling JavaScript, linked from various forms that diff --git a/static/css/note.css b/static/css/note.css index 107910a..0a2d931 100644 --- a/static/css/note.css +++ b/static/css/note.css @@ -136,3 +136,7 @@ ol li { .search_results_summary { font-size: 82%; } + +.invite_status { + font-size: 82%; +} diff --git a/static/js/Wiki.js b/static/js/Wiki.js index 2c6f8b9..5e88614 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -1517,7 +1517,9 @@ Wiki.prototype.display_invites = function ( invite_area ) { appendChildNodes( add_invite_to, createDOM( "div", { "class": "invite" }, invite.email_address, " ", - ( invite.redeemed_username ? "(" + invite.redeemed_username + ")" : "" ), + createDOM( "span", { "class": "invite_status" }, + invite.redeemed_username ? "(invite accepted by " + invite.redeemed_username + ")" : "(waiting for invite to be accepted)" + ), " ", revoke_button ) );