git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added OpenID Authentication
[phorkie.git]
/
data
/
templates
/
display.htm
diff --git
a/data/templates/display.htm
b/data/templates/display.htm
index ea2e2cd8a69f827ca4bb8b4e755a69d7bce13657..6d84c463a510613ec3ea9554adc15d316ff667ca 100644
(file)
--- a/
data/templates/display.htm
+++ b/
data/templates/display.htm
@@
-1,16
+1,18
@@
{% extends "base.htm" %}
{% extends "base.htm" %}
-{% block title %}{{description}}{% endblock %}
+{% block title %}
+ {{repo.getTitle}}
+{% endblock %}
{% block content %}
{% block content %}
-<h1>{{repo.getDescription}}</h1>
-<p><a href="{{repo.getLink('edit')}}">edit</a></p>
+ {% include 'display-head.htm' %}
+
{% for file in repo.getFiles %}
{% for file in repo.getFiles %}
-<div>
- <h2>{{file.getFilename}}</h2>
- <p>
- <a href="{{file.getLink('raw')}}">raw</a>
- </p>
- <pre>{{file.getContent}}</pre>
-</div>
+ {% include 'display-file.htm' %}
{% endfor %}
{% endfor %}
+
+ {% include 'display-foot.htm' %}
+{% endblock %}
+
+{% block sidebar %}
+ {% include 'display-sidebar-history.htm' %}
{% endblock %}
{% endblock %}