X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/cdaa5e28290fe0e9e73ca3a0557ee021a7ab404b..29abc10fb620c14f0ccfcd4ca220e0186274e93c:/data/templates/display.htm diff --git a/data/templates/display.htm b/data/templates/display.htm index 2ba490e..5bcb016 100644 --- a/data/templates/display.htm +++ b/data/templates/display.htm @@ -1,49 +1,22 @@ {% extends "base.htm" %} {% block title %} - {%if repo.getDescription %} - {{repo.getDescription}} - {%else%} - {{repo.id}} - {%endif%} + {{repo.getTitle}} +{% endblock %} + +{% block meta %} + {% endblock %} {% block content %} -

{{repo.getDescription}}

-
-
- edit -
-
-

Paste #{{repo.id}}

-
-
-
- -
-
-
+ {% include 'display-head.htm' %} {% for file in repo.getFiles %} -
-
- raw -

{{file.getFilename}}

-
-
- {{file.getHighlightedContent|raw}} -
-
+ {% include 'display-file.htm' %} {% endfor %} -
-
- - Delete - -
-
+ {% include 'display-foot.htm' %} {% endblock %} {% block sidebar %} -sidebar FIXME + {% include 'display-sidebar-history.htm' %} {% endblock %}