diff options
author | Magnus Hagander | 2016-02-09 12:59:50 +0000 |
---|---|---|
committer | Magnus Hagander | 2016-02-09 12:59:50 +0000 |
commit | 7d67a1fcb6ec8c1257dcb36cdca90bcd334a246c (patch) | |
tree | f059298a6266704529b3c6759f7699e3992644a0 | |
parent | fec3b2431730c131a206a170a99a7610cdbacc6b (diff) |
Add button for New Patch to top of page
Per request during Brussels developer meeting
-rw-r--r-- | pgcommitfest/commitfest/templates/commitfest.html | 3 |
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"> |