diff options
author | Magnus Hagander | 2014-07-15 09:09:08 +0000 |
---|---|---|
committer | Magnus Hagander | 2014-07-15 09:09:08 +0000 |
commit | dc3c89cc70246a31fedafecf9c8863e209b244b6 (patch) | |
tree | fd0b8d17c4f15ae74eec6afbc93d9a7bf8d5ff2b /pgcommitfest/commitfest | |
parent | 384ba4a380e17641743625f21429169aadbd2e3d (diff) |
Unify open and close status under one button
Instead we use subheaders to show the difference between statuses
that keep the patch open, and statuses that close it.
Diffstat (limited to 'pgcommitfest/commitfest')
-rw-r--r-- | pgcommitfest/commitfest/templates/patch_commands.inc | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/pgcommitfest/commitfest/templates/patch_commands.inc b/pgcommitfest/commitfest/templates/patch_commands.inc index aeb96e2..c78a1c0 100644 --- a/pgcommitfest/commitfest/templates/patch_commands.inc +++ b/pgcommitfest/commitfest/templates/patch_commands.inc @@ -11,19 +11,16 @@ <div class="btn-group"> <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#">Status <span class="caret"></span></a> - <ul class="dropdown-menu"> - <li><a href="status/review/">Needs review</a></li> - <li><a href="status/author/">Waiting on Author</a></li> - <li><a href="status/committer/">Ready for Committer</a></li> - </ul> -</div> - -<div class="btn-group"> - <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#">Close <span class="caret"></span></a> - <ul class="dropdown-menu"> - <li><a href="close/reject/" onclick="return verify_reject()">Rejected</a></li> - <li><a href="close/feedback/" onclick="return verify_returned()">Returned with feedback</a></li> - <li><a href="close/committed/" onclick="return verify_committed({{is_committer|yesno:"true,false"}}))">Committed</a></li> + <ul class="dropdown-menu" role="menu"> + <li role="presentation" class="dropdown-header">Open statuses</li> + <li role="presentation"><a href="status/review/">Needs review</a></li> + <li role="presentation"><a href="status/author/">Waiting on Author</a></li> + <li role="presentation"><a href="status/committer/">Ready for Committer</a></li> + <li role="presentation" class="divider"></li> + <li role="presentation" class="dropdown-header">Closed statuses</li> + <li role="presentation"><a href="close/reject/" onclick="return verify_reject()">Rejected</a></li> + <li role="presentation"><a href="close/feedback/" onclick="return verify_returned()">Returned with feedback</a></li> + <li role="presentation"><a href="close/committed/" onclick="return verify_committed({{is_committer|yesno:"true,false"}}))">Committed</a></li> </ul> </div> |