diff --git a/cps/templates/basic_detail.html b/cps/templates/basic_detail.html index c3c358e2..1996497b 100644 --- a/cps/templates/basic_detail.html +++ b/cps/templates/basic_detail.html @@ -10,6 +10,10 @@ {% endfor %} +
+ +
+ {% if current_user.role_download() %} {% if entry.data|length %}
diff --git a/cps/templates/basic_layout.html b/cps/templates/basic_layout.html index eb990b8f..01ffbfc0 100644 --- a/cps/templates/basic_layout.html +++ b/cps/templates/basic_layout.html @@ -1,16 +1,86 @@ - - {{instance}} | {{title}} - - - - + + +{{instance}} | {{title}} + + + + + + +
-
- {% if current_user.is_authenticated or g.allow_anonymous %} + {% if current_user.is_authenticated or g.allow_anonymous %} + + {% endif %}
- {% block body %}{% endblock %} - +
+
+ {% block body %} + {% endblock %} +
+ +