X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/5f427dd38c8d47711ea73015076bb390761e05dd..347d191850d9a3c5a84f3dff1971e6d955555ac9:/data/templates/display.htm diff --git a/data/templates/display.htm b/data/templates/display.htm index ea2e2cd..847a8ea 100644 --- a/data/templates/display.htm +++ b/data/templates/display.htm @@ -1,16 +1,22 @@ {% extends "base.htm" %} -{% block title %}{{description}}{% endblock %} +{% block title %} + {%if repo.getDescription %} + {{repo.getDescription}} + {%else%} + {{repo.id}} + {%endif%} +{% endblock %} {% block content %} -

{{repo.getDescription}}

-

edit

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

{{file.getFilename}}

-

- raw -

-
{{file.getContent}}
-
+ {% include 'display-file.htm' %} {% endfor %} + + {% include 'display-foot.htm' %} +{% endblock %} + +{% block sidebar %} + {% include 'display-sidebar-history.htm' %} {% endblock %}