data/templates/revision-head.htm - ADD: display commit message
[phorkie.git] / data / templates / display.htm
index 43a76fc9f3ef5f940d2ef8cbe42971ce06e911a9..6d84c463a510613ec3ea9554adc15d316ff667ca 100644 (file)
@@ -1,16 +1,18 @@
 {% extends "base.htm" %}
-{% block title %}{{description}}{% endblock %}
+{% block title %}
+ {{repo.getTitle}}
+{% endblock %}
 
 {% block content %}
-<h1>{{repo.getDescription}}</h1>
-<p><a href="{{repo.getLink('edit')}}">edit</a></p>
+ {% include 'display-head.htm' %}
+
 {% for file in repo.getFiles %}
-<div>
- <h2>{{file.getFilename}}</h2>
- <p>
-  <a href="{{file.getLink('raw')}}">raw</a>
- </p>
- {{file.getHighlightedContent|raw}}
-</div>
+ {% include 'display-file.htm' %}
 {% endfor %}
+
+ {% include 'display-foot.htm' %}
+{% endblock %}
+
+{% block sidebar %}
+ {% include 'display-sidebar-history.htm' %}
 {% endblock %}