summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/templates/commitfest.html
diff options
context:
space:
mode:
Diffstat (limited to 'pgcommitfest/commitfest/templates/commitfest.html')
-rw-r--r--pgcommitfest/commitfest/templates/commitfest.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/templates/commitfest.html b/pgcommitfest/commitfest/templates/commitfest.html
index 09b82ac..c416566 100644
--- a/pgcommitfest/commitfest/templates/commitfest.html
+++ b/pgcommitfest/commitfest/templates/commitfest.html
@@ -11,6 +11,9 @@
<li><a href="?reviewer=-3">Patches where you are reviewer</a></li>
</ul>
</div>
+{%if cf.isopen or user.is_staff %}
+<a class="btn btn-default" href="new/">New patch</a>
+{%endif%}
<div id="collapseFilters" class="collapse {%if has_filter%}in{%endif%}">
<form id="filterform" method="GET" action="." style="margin-bottom: 0px">
<table class="table table-condensed" style="margin-bottom: 0px">