X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/271df87bc8c768167889902c455d3c7dfc0f155b..ab7d8488b239a24bff6942ed281a30a5e27f4180:/data/templates/display.htm diff --git a/data/templates/display.htm b/data/templates/display.htm index cabff59..e021296 100644 --- a/data/templates/display.htm +++ b/data/templates/display.htm @@ -1,30 +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 -
-
- 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 -{% endblock %} \ No newline at end of file +{% endblock %}