From 8a60c1000b4a74c3e538dc88aa2881c30f346452 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 7 Jun 2017 13:31:49 +0100 Subject: [PATCH] add title modal --- sourcing/templates/view.html | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/sourcing/templates/view.html b/sourcing/templates/view.html index 1e14187..98b1b05 100644 --- a/sourcing/templates/view.html +++ b/sourcing/templates/view.html @@ -4,6 +4,29 @@ {% block content %} + + -

{{ self.title() }}

+

{{ self.title() }} + {% if current_user.is_authenticated and doc.user == current_user and not doc.has_title() %} + + {% endif %} +

{% if version %}

Revision as of {{ version.modified.strftime('%H:%M, %d %B %Y') }}

{% endif %}