From 8fa9965e5476717e574f2674c6df8c4487874634 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sun, 30 Jan 2011 13:07:59 +0100 Subject: Bug 616185: Move tags (aka lists of bugs) to their own DB tables r/a=mkanat --- template/en/default/global/messages.html.tmpl | 11 ++++++++ .../en/default/global/per-bug-queries.html.tmpl | 16 ++++------- template/en/default/global/user-error.html.tmpl | 33 +++++----------------- 3 files changed, 23 insertions(+), 37 deletions(-) (limited to 'template/en') diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl index 89e47c1e5..5583a961e 100644 --- a/template/en/default/global/messages.html.tmpl +++ b/template/en/default/global/messages.html.tmpl @@ -865,6 +865,17 @@ The cookie that was remembering your login is now gone. [% END %] + [% ELSIF message_tag == "tag_updated" %] + [% title = "Tag Updated" %] + The '[% tag FILTER html %]' tag has been + [% IF action == "add" %] + added to + [% ELSE %] + removed from + [% END %] + [%+ buglist.size > 1 ? terms.bugs : terms.bug %] + [%+ buglist.join(", ") FILTER html %]. + [% ELSIF message_tag == "term" %] [% terms.$term FILTER html %] diff --git a/template/en/default/global/per-bug-queries.html.tmpl b/template/en/default/global/per-bug-queries.html.tmpl index a7c073ba1..90418981f 100644 --- a/template/en/default/global/per-bug-queries.html.tmpl +++ b/template/en/default/global/per-bug-queries.html.tmpl @@ -51,12 +51,6 @@ //--> - [%# Get existing lists of bugs for this user %] - [% lists_of_bugs = [] %] - [% FOREACH q = user.queries %] - [% NEXT UNLESS q.type == constants.LIST_OF_BUGS %] - [% lists_of_bugs.push(q.name) %] - [% END %]