Closed Bug 510669 Opened 16 years ago Closed 16 years ago

Do not display the "shared searches" table if there is no search shared with you

Categories

(Bugzilla :: User Accounts, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: LpSolit, Assigned: LpSolit)

Details

Attachments

(1 file)

Currently, we display an empty table with <None> in it, meaning that we don't share any query with you. We should rather skip this table and update the "You may use these searches saved and shared by others:" label to "No searches are shared with you by other users".
Summary: Do not display the "shared searches table" if there is no search shared with you → Do not display the "shared searches" table if there is no search shared with you
Attached patch patch, v1Splinter Review
Assignee: user-accounts → LpSolit
Status: NEW → ASSIGNED
Attachment #394647 - Flags: review?(guy.pyrzak)
Target Milestone: --- → Bugzilla 3.6
Comment on attachment 394647 [details] [diff] [review] patch, v1 If you're going to get rid of the tr saying None you should also get rid of the row that has the header info in it as well (IE nothing at all should show up). If a header row appears then something should say "none" or "No Shared Searches".
Attachment #394647 - Flags: review?(guy.pyrzak) → review-
just noticed the <p> tag, so disregard the last sentence.
Comment on attachment 394647 [details] [diff] [review] patch, v1 NEVERMIND. didn't see the first line of the patch. It looks fine, but I need to test it.
Attachment #394647 - Flags: review- → review?
Comment on attachment 394647 [details] [diff] [review] patch, v1 Did you read the patch carefully? If there is nothing to share, the table is not displayed *at all*, which is the topic of the bug. So if the table is displayed, we are sure there is at least one row.
Attachment #394647 - Flags: review? → review?(guy.pyrzak)
Attachment #394647 - Flags: review?(guy.pyrzak) → review+
Flags: approval+
Checking in template/en/default/account/prefs/saved-searches.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/account/prefs/saved-searches.html.tmpl,v <-- saved-searches.html.tmpl new revision: 1.21; previous revision: 1.20 done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: