Child: [b908c9] (diff)

Download this file

tree.html    29 lines (24 with data), 803 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
27
28
{% extends 'repo/repo_master.html' %}
{% do g.register_forge_css('css/forge/hilite.css') %}
{% block title %}
{{c.project.name}} / {{c.app.config.options.mount_label}}
/ {{commit.shorthand_id()}} {{path}}
{% endblock %}
{% block header %}
<a href="{{commit.url()}}">{{commit.shorthand_id()}}</a> /
{{lib.path_links(path.split('/')[1:-1])}}
{% endblock %}
{% block actions %}
<a href="{{commit.url()}}log/">
<b data-icon="{{g.icons.history.char}}" class="ico {{g.icons.history.css}}" title="History"> </b>
</a>
{% endblock %}
{% block content %}
{{ clone_info(c.app.repo) }}
<br style="clear:both"/>
{{c.tree_widget.display(repo=repo, commit=commit, tree=tree, path=path)}}
{% if tree.readme() %}
<h1>Read Me</h1>
{{g.markdown.convert(tree.readme())|safe}}
{% endif %}
{% endblock %}