summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-06-15 09:24:42 +0200
committerByron Jones <glob@mozilla.com>2015-06-15 09:24:42 +0200
commit35cabc41dfbed750d225fb8be2c4dfa1736e84b6 (patch)
tree30bb64203597e3949ad01f21d9fdf8b6830c5268 /extensions/BugModal/template/en
parenta46479d0c8736db551c003024d0337bd4a68fcab (diff)
downloadbugzilla-35cabc41dfbed750d225fb8be2c4dfa1736e84b6.tar.gz
bugzilla-35cabc41dfbed750d225fb8be2c4dfa1736e84b6.tar.xz
Bug 1173398: reduce the number of visible buttons at the top right of the page
Diffstat (limited to 'extensions/BugModal/template/en')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl19
1 files changed, 12 insertions, 7 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 c40926566..1f4ed2471 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -241,12 +241,6 @@
</div>
[% END %]
<div class="button-row">
- [% IF user.id %]
- <button type="button" class="comment-btn minor">Add Comment</button>
- [% END %]
- <button type="button" id="last-comment-btn" class="minor">Last Comment &darr;</button>
- </div>
- <div class="button-row">
[% IF bug.assigned_to.id == user.id || user.in_group("editbugs") %]
<button type="button" id="copy-summary" class="minor"
title="Copy [% terms.bug %] number and summary to your clipboard">Copy Summary</button>
@@ -256,7 +250,18 @@
[% is_cced ? "Stop Following" : "Follow" %]
</button>
[% END %]
- <button type="button" id="expand-all-btn" class="minor">Expand All</button>
+ <button type="button" id="action-menu-btn" class="minor">&#9662;</button>
+ <menu id="action-menu" type="context" style="display:none">
+ <menuitem id="action-reset" label="Reset Sections"></menuitem>
+ <menuitem id="action-expand-all" label="Expand All Sections"></menuitem>
+ <menuitem id="action-collapse-all" label="Collapse All Sections"></menuitem>
+ <hr>
+ [% IF user.id %]
+ <menuitem id="action-add-comment" label="Add Comment"></menuitem>
+ [% END %]
+ <menuitem id="action-last-comment" label="Last Comment"></menuitem>
+ </menu>
+
</div>
</div>
[% END %]