diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-04-03 22:27:31 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-04-03 22:27:31 +0200 |
| commit | 9e9f228abdf3f10d369b2699ffef29b59ff2bbf4 (patch) | |
| tree | db79e8144c1271b2c767705a5fb098c1fae14dde /data/templates/display.htm | |
| parent | a760f8955d0a4753eb48a7be5f5b242ca3b3f287 (diff) | |
| download | phorkie-9e9f228abdf3f10d369b2699ffef29b59ff2bbf4.tar.gz phorkie-9e9f228abdf3f10d369b2699ffef29b59ff2bbf4.zip | |
show public and private git urls if configured
Diffstat (limited to 'data/templates/display.htm')
| -rw-r--r-- | data/templates/display.htm | 21 |
1 files changed, 21 insertions, 0 deletions
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 @@ </div> </div> +{% if repo.getCloneURL(true) or repo.getCloneURL(false) %} +<div class="well"> + {% if repo.getCloneURL(true) %} + <div class="row-fluid"> + <div class="span3">Public clone URL</div> + <div class="span9"> + <a href="{{repo.getCloneURL(true)}}">{{repo.getCloneURL(true)}}</a> + </div> + </div> + {% endif %} + {% if repo.getCloneURL(false) %} + <div class="row-fluid"> + <div class="span3">Private clone URL</div> + <div class="span9"> + <a href="{{repo.getCloneURL(false)}}">{{repo.getCloneURL(false)}}</a> + </div> + </div> + {% endif %} +</div> +{% endif %} + {% for file in repo.getFiles %} <div class="file"> <div class="header"> |
