summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-08-06 18:19:26 +0200
committerDylan William Hardison <dylan@hardison.net>2018-08-06 18:19:26 +0200
commitd137239ad187289d38a630664c635119356d6338 (patch)
tree1210a4fb85408948a9125dec24c692356a73f006 /extensions/BugModal
parentcb1223bd72daac8a25e4082e540021940fb8dd4d (diff)
downloadbugzilla-d137239ad187289d38a630664c635119356d6338.tar.gz
bugzilla-d137239ad187289d38a630664c635119356d6338.tar.xz
Bug 1480599 - Add "File new bug" menu to product/component hovercard
Diffstat (limited to 'extensions/BugModal')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
index 47044e232..e926c04b4 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -391,7 +391,9 @@
<li role="separator"></li>
<div class="actions">
<div><a href="buglist.cgi?product=[% bug.product FILTER uri %]&amp;bug_status=__open__"
- target="_blank" role="menuitem" tabindex="-1">See Other [% terms.Bugs %]</a></div>
+ target="_blank" role="menuitem" tabindex="-1">See All [% terms.Bugs %] in This Product</a></div>
+ <div><a href="enter_bug.cgi?product=[% bug.product FILTER uri %]"
+ target="_blank" role="menuitem" tabindex="-1">File New [% terms.Bug %] in This Product</a></div>
<div><button disabled type="button" class="minor component-watching" role="menuitem" tabindex="-1"
data-product="[% bug.product FILTER html %]"
data-label-watch="Watch This Product" data-label-unwatch="Unwatch This Product"
@@ -447,7 +449,10 @@
<div class="actions">
<div><a href="buglist.cgi?product=[% bug.product FILTER uri %]&amp;
[%~ %]component=[% bug.component FILTER uri %]&amp;bug_status=__open__"
- target="_blank" role="menuitem" tabindex="-1">See Other [% terms.Bugs %]</a></div>
+ target="_blank" role="menuitem" tabindex="-1">See All [% terms.Bugs %] in This Component</a></div>
+ <div><a href="enter_bug.cgi?product=[% bug.product FILTER uri %]&amp;
+ [%~ %]component=[% bug.component FILTER uri %]"
+ target="_blank" role="menuitem" tabindex="-1">File New [% terms.Bug %] in This Component</a></div>
<div><button disabled type="button" class="minor component-watching" role="menuitem" tabindex="-1"
data-product="[% bug.product FILTER html %]" data-component="[% bug.component FILTER html %]"
data-label-watch="Watch This Component" data-label-unwatch="Unwatch This Component"