diff options
author | Kohei Yoshino <kohei.yoshino@gmail.com> | 2017-12-01 04:42:14 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-12-01 04:42:14 +0100 |
commit | aa3f0331fb7e0b97201afb806b777a03c9f2fca2 (patch) | |
tree | 02860760c859419a98fe8f0f0ba858e2c9cb6fe0 /template | |
parent | 3d10b811d625ac42e631e17f63c7376983731307 (diff) | |
download | bugzilla-aa3f0331fb7e0b97201afb806b777a03c9f2fca2.tar.gz bugzilla-aa3f0331fb7e0b97201afb806b777a03c9f2fca2.tar.xz |
Bug 1420300 - Move bug tagging tool from global footer to bug footer
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/bug/navigate.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/bug/tagging.html.tmpl (renamed from template/en/default/global/per-bug-queries.html.tmpl) | 14 | ||||
-rw-r--r-- | template/en/default/filterexceptions.pl | 4 | ||||
-rw-r--r-- | template/en/default/global/useful-links.html.tmpl | 4 |
4 files changed, 6 insertions, 18 deletions
diff --git a/template/en/default/bug/navigate.html.tmpl b/template/en/default/bug/navigate.html.tmpl index f0c924160..027e3fcf9 100644 --- a/template/en/default/bug/navigate.html.tmpl +++ b/template/en/default/bug/navigate.html.tmpl @@ -41,6 +41,8 @@ [% Hook.process("links") %] <li> - <a href="#">Top of page </a></li> </ul> + [% PROCESS "bug/tagging.html.tmpl" %] + <hr> [% END %] [% SET my_search = user.recent_search_for(bug) %] diff --git a/template/en/default/global/per-bug-queries.html.tmpl b/template/en/default/bug/tagging.html.tmpl index b5c2431e1..88c113051 100644 --- a/template/en/default/global/per-bug-queries.html.tmpl +++ b/template/en/default/bug/tagging.html.tmpl @@ -14,13 +14,11 @@ #%] [% IF user.id && user.settings.per_bug_queries.value == "on" %] - <li id="links-special"> - <div class="label"></div> - <ul class="links"><li class="form"> <form id="list_of_bugs" action="buglist.cgi" method="get"> <input type="hidden" name="cmdtype" value="doit"> <input type="hidden" name="remtype" value="asnamed"> <input type="hidden" name="list_of_bugs" value="1"> + <input type="hidden" name="bug_ids" value="[% bug.id FILTER none %]"> <input type="hidden" name="token" value="[% issue_hash_token(['savedsearch']) FILTER html %]"> <select id="lob_action" name="action" > <option value="add">Add</option> @@ -30,7 +28,7 @@ </select> [% IF Param('docs_urlbase') %] - <a href="[% docs_urlbase FILTER html %]query.html#individual-buglists">the named tag</a> + <a href="[% docs_urlbase FILTER html %]using/finding.html#individual-bug-lists">the named tag</a> [% ELSE %] the named tag [% END %] @@ -48,11 +46,7 @@ size="20" maxlength="64" name="newqueryname"> </span> <span id="lob_direction">to</span> - [%+ terms.bugs %] - <input type="text" name="bug_ids" size="12" maxlength="80" - [%- " value=\"$bugids\"" IF bugids %]> - <input type="submit" value="Commit" id="commit_list_of_bugs"> + this [% terms.bug %] + <input type="submit" value="Save Tag" id="commit_list_of_bugs"> </form> - </li></ul> - </li> [% END %] diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 237dd7b46..39f064035 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -185,10 +185,6 @@ 'series.frequency * 2', ], -'global/per-bug-queries.html.tmpl' => [ - '" value=\"$bugids\"" IF bugids', -], - 'global/select-menu.html.tmpl' => [ 'options', 'size', diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl index dd4fed424..467719028 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -72,10 +72,6 @@ </li> [% END %] - [%# Individual bugs addition %] - - [% PROCESS "global/per-bug-queries.html.tmpl" %] - [%# Sections of links to more things users can do on this installation. %] [% Hook.process("end") %] </ul> |