From 991497ceb381d1ab6bc79db8bfad4405c8bbd008 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 8 May 2014 23:09:41 +0200 Subject: show remote fork button only if user cannot write --- data/templates/display-head.htm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'data') diff --git a/data/templates/display-head.htm b/data/templates/display-head.htm index f610f84..aa7daec 100644 --- a/data/templates/display-head.htm +++ b/data/templates/display-head.htm @@ -8,13 +8,19 @@
+ {% if htmlhelper.mayWriteLocally %} + {% else %} + Fork to remote system + {% endif %}
-- cgit v1.2.3