Parent: [b908c9] (diff)

Child: [c657e4] (diff)

Download this file

repo_master.html    27 lines (24 with data), 915 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends g.theme.master %}
{% block extra_css %}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{c.app.url}}feed.rss"/>
<link rel="alternate" type="application/atom+xml" title="Atom" href="{{c.app.url}}feed.atom"/>
{% endblock %}
{% macro clone_info(repo) %}
{% if repo %}
<label for="ro" class="grid-3">Read-only</label>
<div class="grid-16">
<input id="ro" style="width:40em;" readonly type="text"
class="selectText"
value="{{repo.readonly_clone_command()}}"/>
</div>
{% if h.has_artifact_access('write')() %}
<label for="rw" class="grid-3">Read / write</label>
<div class="grid-16">
<input id="rw" style="width:40em;" readonly type="text"
class="selectText"
value="{{repo.readwrite_clone_command()}}"/>
</div>
<br style="clear:both;"/>
{% endif %}
{% endif %}
{% endmacro %}