From 9e9f228abdf3f10d369b2699ffef29b59ff2bbf4 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 3 Apr 2012 22:27:31 +0200 Subject: show public and private git urls if configured --- data/config.php.dist | 4 +++- data/templates/display.htm | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/config.php.dist b/data/config.php.dist index b213e85..8ef80e9 100644 --- a/data/config.php.dist +++ b/data/config.php.dist @@ -1,3 +1,5 @@ diff --git a/data/templates/display.htm b/data/templates/display.htm index f9ab2e5..da75cd9 100644 --- a/data/templates/display.htm +++ b/data/templates/display.htm @@ -23,6 +23,27 @@ +{% if repo.getCloneURL(true) or repo.getCloneURL(false) %} +
+ {% if repo.getCloneURL(true) %} +
+
Public clone URL
+ +
+ {% endif %} + {% if repo.getCloneURL(false) %} +
+
Private clone URL
+ +
+ {% endif %} +
+{% endif %} + {% for file in repo.getFiles %}
-- cgit v1.2.3