From 3569cc76d5dd555210616ab0dcda2ec13e878acd Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Mon, 4 Jun 2018 17:27:01 +0100 Subject: [PATCH] Hide view tabs and move raw button for sourcedocs. --- sourcing/templates/view.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sourcing/templates/view.html b/sourcing/templates/view.html index 33f2474..b8d3edb 100644 --- a/sourcing/templates/view.html +++ b/sourcing/templates/view.html @@ -34,6 +34,7 @@ {% endif %} +{% if doc.type != 'sourcedoc' %} +{% endif %}

{{ self.title() }} {% if current_user.is_authenticated and doc.user == current_user %} @@ -96,6 +98,7 @@ {% if not version and doc.type == 'sourcedoc' and not span_length %} + raw

span: