X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/bfa1501efa1a49893208c794ea262a075b13fc1d..a10990fa58a592aeb8c49dfd416b722d975fddb3:/data/templates/display.htm diff --git a/data/templates/display.htm b/data/templates/display.htm index 6575617..f9ab2e5 100644 --- a/data/templates/display.htm +++ b/data/templates/display.htm @@ -1,19 +1,49 @@ {% extends "base.htm" %} -{% block title %}{{description}}{% endblock %} +{% block title %} + {%if repo.getDescription %} + {{repo.getDescription}} + {%else%} + {{repo.id}} + {%endif%} +{% endblock %} {% block content %}

{{repo.getDescription}}

- +
+
+ edit +
+
+

Paste #{{repo.id}}

+
+
+
+ +
+
+
+ {% for file in repo.getFiles %} -
-

{{file.getFilename}}

-

- raw -

- {{file.getHighlightedContent|raw}} +
+
+ raw +

{{file.getFilename}}

+
+
+ {{file.getHighlightedContent|raw}} +
{% endfor %} + +
+ +
+{% endblock %} + +{% block sidebar %} +sidebar FIXME {% endblock %}