X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/271df87bc8c768167889902c455d3c7dfc0f155b..46b8f9d7a368f9ab35653edd726666ce17bedb39:/data/templates/display.htm diff --git a/data/templates/display.htm b/data/templates/display.htm index cabff59..da75cd9 100644 --- a/data/templates/display.htm +++ b/data/templates/display.htm @@ -1,16 +1,48 @@ {% extends "base.htm" %} -{% block title %}{{description}}{% endblock %} +{% block title %} + {%if repo.getDescription %} + {{repo.getDescription}} + {%else%} + {{repo.id}} + {%endif%} +{% endblock %} {% block content %}

{{repo.getDescription}}

-
+ -
- fork +
+

Paste #{{repo.id}}

+
+
+
+ +
+
+
+ +{% if repo.getCloneURL(true) or repo.getCloneURL(false) %} +
+ {% if repo.getCloneURL(true) %} +
+
Public clone URL
+ +
+ {% endif %} + {% if repo.getCloneURL(false) %} +
+
Private clone URL
+
+ {% endif %}
+{% endif %} {% for file in repo.getFiles %}
@@ -23,8 +55,16 @@
{% endfor %} + +
+ +
{% endblock %} {% block sidebar %} sidebar FIXME -{% endblock %} \ No newline at end of file +{% endblock %}