File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
pgcommitfest/commitfest/templates Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ div.form-group div.controls input.threadpick-input {
3737 display : inline;
3838}
3939
40- .dropdown-menu__up {
40+ .dropdown-menu--up {
4141 top : initial;
4242 bottom : 100% ;
4343}
Original file line number Diff line number Diff line change @@ -183,7 +183,9 @@ <h4>Annotations</h4>
183183 </ tbody >
184184</ table >
185185
186+ {% with dropdown_mode="dropdown-menu--up" %}
186187{%include "patch_commands.inc"%}
188+ {% endwith %}
187189
188190{%comment%}commit dialog{%endcomment%}
189191< div class ="modal fade " id ="commitModal " role ="dialog ">
Original file line number Diff line number Diff line change 33
44< div class ="btn-group ">
55 < a class ="btn btn-default dropdown-toggle " data-toggle ="dropdown " href ="# "> Comment/Review < span class ="caret "> </ span > </ a >
6- < ul class ="dropdown-menu dropdown-menu__up ">
6+ < ul class ="dropdown-menu {{ dropdown_mode }} ">
77 < li > < a href ="comment/ "> Comment</ a >
88 < li > < a href ="review/ "> Review</ a >
99 </ ul >
1010</ div >
1111
1212< div class ="btn-group ">
1313 < a class ="btn btn-default dropdown-toggle " data-toggle ="dropdown " href ="# "> Change Status < span class ="caret "> </ span > </ a >
14- < ul class ="dropdown-menu dropdown-menu__up " role ="menu ">
14+ < ul class ="dropdown-menu {{ dropdown_mode }} " role ="menu ">
1515 < li role ="presentation " class ="dropdown-header "> Open statuses</ li >
1616 < li role ="presentation "> < a href ="status/review/ "> Needs review</ a > </ li >
1717 < li role ="presentation "> < a href ="status/author/ "> Waiting on Author</ a > </ li >
2929{%if request.user.is_staff%}
3030< div class ="btn-group ">
3131 < a class ="btn btn-default dropdown-toggle " data-toggle ="dropdown " href ="# "> Send private mail < span class ="caret "> </ span > </ a >
32- < ul class ="dropdown-menu dropdown-menu__up ">
32+ < ul class ="dropdown-menu {{ dropdown_mode }} ">
3333 < li > < a href ="send_email/?authors={{patch.id}} "> Send mail to authors</ a > </ li >
3434 < li > < a href ="send_email/?reviewers={{patch.id}} "> Send mail to reviewers</ a > </ li >
3535 < li > < a href ="send_email/?authors={{patch.id}}&reviewers={{patch.id}} "> Send mail to authors and reviewers</ a > </ li >
You can’t perform that action at this time.
0 commit comments