Skip to content

Commit 9483e39

Browse files
committed
Fix "New patch" button not being visible for non-staff users
1 parent 8e9b144 commit 9483e39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pgcommitfest/commitfest/templates/commitfest.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<li><a href="?reviewer=-3">Patches where you are reviewer</a></li>
1212
</ul>
1313
</div>
14-
{%if cf.isopen or user.is_staff %}
14+
{%if cf.is_open or user.is_staff %}
1515
<a class="btn btn-default" href="new/">New patch</a>
1616
{%endif%}
1717
{%include "filter_form.html" %}
@@ -115,7 +115,7 @@ <h3>{{p.is_open|yesno:"Active patches,Closed patches"}}</h3>
115115
{%endfor%}
116116

117117
<div>
118-
{%if cf.isopen or user.is_staff %}
118+
{%if cf.is_open or user.is_staff %}
119119
<a class="btn btn-default" href="new/">New patch</a>
120120
{%endif%}
121121
{%if user.is_staff%}

0 commit comments

Comments
 (0)