X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/83dee594452004d482547d7e6ab2e2169dc0fb4e..0845bf175dc416cdf107209fc34f7b37bf42b6e6:/data/templates/display.htm diff --git a/data/templates/display.htm b/data/templates/display.htm index 0b95912..6d84c46 100644 --- a/data/templates/display.htm +++ b/data/templates/display.htm @@ -1,39 +1,18 @@ {% extends "base.htm" %} {% block title %} - {%if repo.getDescription %} - {{repo.getDescription}} - {%else%} - {{repo.id}} - {%endif%} + {{repo.getTitle}} {% endblock %} {% block content %} -

{{repo.getDescription}}

-
-
- edit -
-
-

Paste #{{repo.id}}

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

{{file.getFilename}}

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