summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest
diff options
context:
space:
mode:
Diffstat (limited to 'pgcommitfest/commitfest')
-rw-r--r--pgcommitfest/commitfest/templates/patch.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcommitfest/commitfest/templates/patch.html b/pgcommitfest/commitfest/templates/patch.html
index 8fbf458..3ed775e 100644
--- a/pgcommitfest/commitfest/templates/patch.html
+++ b/pgcommitfest/commitfest/templates/patch.html
@@ -100,7 +100,7 @@
</table>
{%endif%}
{%endfor%}
- <button class="btn btn-xs btn-default" onclick="addAnnotation({{t.id}})">Add annotation</button>
+ {%if user.is_authenticated%}<button class="btn btn-xs btn-default" onclick="addAnnotation({{t.id}})">Add annotation</button>{%endif%}
</div>
</dd>
{%endfor%}