git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no sidebar
[phorkie.git]
/
data
/
templates
/
display.htm
diff --git
a/data/templates/display.htm
b/data/templates/display.htm
index 43a76fc9f3ef5f940d2ef8cbe42971ce06e911a9..e02129600a7ff67cb7c836ad72fb202d58e12f37 100644
(file)
--- a/
data/templates/display.htm
+++ b/
data/templates/display.htm
@@
-1,16
+1,22
@@
{% extends "base.htm" %}
{% extends "base.htm" %}
-{% block title %}{{description}}{% endblock %}
+{% block title %}
+ {%if repo.getDescription %}
+ {{repo.getDescription}}
+ {%else%}
+ {{repo.id}}
+ {%endif%}
+{% 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>
- {{file.getHighlightedContent|raw}}
-</div>
+ {% include 'display-file.htm' %}
{% endfor %}
{% endfor %}
+
+ {% include 'display-foot.htm' %}
+{% endblock %}
+
+{% block sidebar %}
+sidebar FIXME
{% endblock %}
{% endblock %}