X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/9e9f228abdf3f10d369b2699ffef29b59ff2bbf4..823e1f88e81566da882920c4cfc9459350fd80a8:/data/templates/display.htm
diff --git a/data/templates/display.htm b/data/templates/display.htm
index da75cd9..799f94d 100644
--- a/data/templates/display.htm
+++ b/data/templates/display.htm
@@ -1,70 +1,28 @@
{% extends "base.htm" %}
{% block title %}
- {%if repo.getDescription %}
- {{repo.getDescription}}
- {%else%}
- {{repo.id}}
- {%endif%}
+ {{repo.getTitle}}
{% endblock %}
-{% block content %}
-
{{repo.getDescription}}
-
-
-
-
Paste #{{repo.id}}
-
-
-
-
-
-
-{% if repo.getCloneURL(true) or repo.getCloneURL(false) %}
-
- {% if repo.getCloneURL(true) %}
-
- {% endif %}
- {% if repo.getCloneURL(false) %}
-
- {% endif %}
-
+{% block meta %}
+
+{% if repo.getCloneURL(true) %}
+
+{% endif %}
+{% if repo.getCloneURL(false) %}
+
{% endif %}
+{% endblock %}
+
+{% block content %}
+ {% include 'display-head.htm' %}
{% for file in repo.getFiles %}
-
-
-
- {{file.getHighlightedContent|raw}}
-
-
+ {% include 'display-file.htm' %}
{% endfor %}
-
+ {% include 'display-foot.htm' %}
{% endblock %}
{% block sidebar %}
-sidebar FIXME
+ {% include 'display-sidebar-history.htm' %}
{% endblock %}