use repository and file classes
[phorkie.git] / data / templates / display.htm
1 {% extends "base.htm" %}
2 {% block title %}{{description}}{% endblock %}
3
4 {% block content %}
5 <h1>{{repo.getDescription}}</h1>
6 <p><a href="{{repo.getLink('edit')}}">edit</a></p>
7 {% for file in repo.getFiles %}
8 <div>
9  <h2>{{file.getFilename}}</h2>
10  <p>
11   <a href="{{file.getLink('raw')}}">raw</a>
12  </p>
13  <pre>{{file.getContent}}</pre>
14 </div>
15 {% endfor %}
16 {% endblock %}