X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/a3845de282299bd805d6455789bc6531bde861be..1c40892fc9ff71d7add588e929b9a4881de6c5b4:/data/templates/display.htm diff --git a/data/templates/display.htm b/data/templates/display.htm index ca52775..16e1b08 100644 --- a/data/templates/display.htm +++ b/data/templates/display.htm @@ -1,41 +1,31 @@ {% extends "base.htm" %} -{% block title %} - {%if repo.getDescription %} - {{repo.getDescription}} - {%else%} - {{repo.id}} - {%endif%} +{% block title %}{{repo.getTitle}}{% endblock %} + +{% block meta %} + + + +{% if repo.getCloneURL(true) %} + +{% endif %} +{% if repo.getCloneURL(false) %} + +{% endif %} {% 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 %} + + {% include 'display-foot.htm' %} {% endblock %} {% block sidebar %} -sidebar FIXME + {% include 'display-sidebar-owner.htm' %} + {% include 'display-sidebar-fork.htm' %} + {% include 'display-sidebar-history.htm' %} + {% include 'display-sidebar-urls.htm' %} {% endblock %}