File tree 3 files changed +6
-4
lines changed
pgcommitfest/commitfest/templates
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 {
37
37
display : inline;
38
38
}
39
39
40
- .dropdown-menu__up {
40
+ .dropdown-menu--up {
41
41
top : initial;
42
42
bottom : 100% ;
43
43
}
Original file line number Diff line number Diff line change @@ -183,7 +183,9 @@ <h4>Annotations</h4>
183
183
</ tbody >
184
184
</ table >
185
185
186
+ {% with dropdown_mode="dropdown-menu--up" %}
186
187
{%include "patch_commands.inc"%}
188
+ {% endwith %}
187
189
188
190
{%comment%}commit dialog{%endcomment%}
189
191
< div class ="modal fade " id ="commitModal " role ="dialog ">
Original file line number Diff line number Diff line change 3
3
4
4
< div class ="btn-group ">
5
5
< 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 }} ">
7
7
< li > < a href ="comment/ "> Comment</ a >
8
8
< li > < a href ="review/ "> Review</ a >
9
9
</ ul >
10
10
</ div >
11
11
12
12
< div class ="btn-group ">
13
13
< 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 ">
15
15
< li role ="presentation " class ="dropdown-header "> Open statuses</ li >
16
16
< li role ="presentation "> < a href ="status/review/ "> Needs review</ a > </ li >
17
17
< li role ="presentation "> < a href ="status/author/ "> Waiting on Author</ a > </ li >
29
29
{%if request.user.is_staff%}
30
30
< div class ="btn-group ">
31
31
< 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 }} ">
33
33
< li > < a href ="send_email/?authors={{patch.id}} "> Send mail to authors</ a > </ li >
34
34
< li > < a href ="send_email/?reviewers={{patch.id}} "> Send mail to reviewers</ a > </ li >
35
35
< 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