From 544470517086c29794f83c4993fa277e476bd491 Mon Sep 17 00:00:00 2001 From: Bramble Xu Date: Wed, 5 Dec 2018 10:15:10 +0900 Subject: [PATCH] show edit button only for superuser --- app/server/templates/annotation/annotation_base.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/server/templates/annotation/annotation_base.html b/app/server/templates/annotation/annotation_base.html index 5a0b5f90..7812150c 100644 --- a/app/server/templates/annotation/annotation_base.html +++ b/app/server/templates/annotation/annotation_base.html @@ -6,12 +6,14 @@ {% endblock %} {% block navigation %} +{% if user.is_superuser %} Edit Data +{% endif %} {% endblock %} {% block content %}