Download this file

tree.html    24 lines (21 with data), 782 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
{% extends 'jinja_master/master.html' %}
{% block title %}
{{c.project.name}} / {{c.app.config.options.mount_label}}
{% if tree %}
/ Revision {{tree._commit._id}}:
{{lib.path_links(tree.path().split('/')[1:-1])}}
{% endif %}
{% endblock %}
{% block header %}
{% if tree %}
<a href="{{tree._commit.url()}}">Revision {{tree._commit._id}}</a>:
{{lib.path_links(tree.path().split('/')[1:-1])}}
{% else %}
No files
{% endif %}
{% endblock %}
{% block content %}
Read access: <code>svn checkout svn://{{c.app.repo.scm_url_path}}</code><br/>
Read/write access: <code>svn checkout svn+ssh://{{c.user == c.user.anonymous() and 'USERNAME' or c.user.username}}@{{c.app.repo.scm_url_path}}</code><br/>
{{c.tree_widget.display(tree=tree)}}
{% endblock %}