From 92a81752931c5fd7cdbf4b63305389844193d029 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 7 May 2012 17:58:22 +0200 Subject: Bug 616191: Implement UI to easily tag bugs from the bug report directly (and get rid of the current form in the footer) r=timello a=LpSolit --- template/en/default/bug/edit.html.tmpl | 11 ++++++++++- template/en/default/bug/field-help.none.tmpl | 7 +++++++ template/en/default/bug/field.html.tmpl | 16 +++++++++------- 3 files changed, 26 insertions(+), 8 deletions(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index d7c564fdb..d8803e677 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -523,11 +523,20 @@ [% INCLUDE bug/field.html.tmpl bug = bug, field = bug_fields.keywords, value = bug.keywords editable = bug.check_can_change_field("keywords", 0, 1), - no_tds = 1 + no_tds = 1, possible_values = all_keywords %] [% END %] + + [% IF user.id %] + + [% INCLUDE bug/field.html.tmpl + bug = bug, field = bug_fields.tag, value = bug.tags.join(", "), + editable = 1, possible_values = user.tags.keys + %] + + [% END %] [% END %] [%############################################################################%] diff --git a/template/en/default/bug/field-help.none.tmpl b/template/en/default/bug/field-help.none.tmpl index a74de2e32..f76fa9639 100644 --- a/template/en/default/bug/field-help.none.tmpl +++ b/template/en/default/bug/field-help.none.tmpl @@ -137,6 +137,13 @@ status_whiteboard => "Each $terms.bug has a free-form single line text entry box for" _ " adding tags and status information.", +tag => + "Unlike ${vars.field_descs.keywords} which are global and visible by + all users, ${vars.field_descs.tag} are personal and can only be + viewed and edited by their author. + Editing them won't send any notification to other users. Use them + to tag and keep track of ${terms.bugs}.", + target_milestone => "The $vars.field_descs.target_milestone field is used to define when the" _ " engineer the $terms.bug is assigned to expects to fix it.", diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl index 0cc75c288..e6660256f 100644 --- a/template/en/default/bug/field.html.tmpl +++ b/template/en/default/bug/field.html.tmpl @@ -171,19 +171,21 @@ [% END %] [% CASE constants.FIELD_TYPE_KEYWORDS %] -
+
-
+
[% END %] [% ELSE %] -- cgit v1.2.3-24-g4f1b