summaryrefslogtreecommitdiffstats
path: root/gitsrht/templates/empty-repo.html
diff options
context:
space:
mode:
Diffstat (limited to 'gitsrht/templates/empty-repo.html')
-rw-r--r--gitsrht/templates/empty-repo.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/gitsrht/templates/empty-repo.html b/gitsrht/templates/empty-repo.html
index 3a500a0..ac88cef 100644
--- a/gitsrht/templates/empty-repo.html
+++ b/gitsrht/templates/empty-repo.html
@@ -21,12 +21,14 @@
<div class="row" style="margin-bottom: 1rem">
<div class="col-md-4">
<h3>clone</h3>
+ {% with read_only, read_write = repo|clone_urls %}
<dl>
<dt>read-only</dt>
- <dd><a href="{{clone_urls[0]}}">{{clone_urls[0]}}</a></dd>
+ <dd><a href="{{read_only}}">{{read_only}}</a></dd>
<dt>read/write</dt>
- <dd>{{clone_urls[1]}}</dd>
+ <dd>{{read_write}}</dd>
</dl>
+ {% endwith %}
</div>
<div class="col-md-8">
<p>