diff --git a/plinth/modules/gitweb/templates/gitweb_configure.html b/plinth/modules/gitweb/templates/gitweb_configure.html index d48780a62..84b615f33 100644 --- a/plinth/modules/gitweb/templates/gitweb_configure.html +++ b/plinth/modules/gitweb/templates/gitweb_configure.html @@ -44,8 +44,6 @@ {% endblock %} -

{{ title }}

- {% block configuration %} {{ block.super }} @@ -56,30 +54,35 @@ {% if not repos %}

{% trans 'No repositories available.' %}

{% else %} - {% for repo in repos %} -
- - - - - - +
+ {% for repo in repos %} +
+ + + + + + + + {% if repo.access == 'private' %} - + {% endif %} - - {{ repo.name }} - -
- {% endfor %} + + + {{ repo.name }} + +
+ {% endfor %} +
{% endif %} - {% endblock %} diff --git a/plinth/modules/gitweb/templates/gitweb_create_edit.html b/plinth/modules/gitweb/templates/gitweb_create_edit.html index b251e8ab3..9af6cb3af 100644 --- a/plinth/modules/gitweb/templates/gitweb_create_edit.html +++ b/plinth/modules/gitweb/templates/gitweb_create_edit.html @@ -25,7 +25,7 @@ {% block content %}

{{ title }}

-
+
{% csrf_token %} @@ -34,5 +34,5 @@
-
+ {% endblock %} diff --git a/plinth/modules/gitweb/templates/gitweb_delete.html b/plinth/modules/gitweb/templates/gitweb_delete.html index c6d138e8b..b02e121bf 100644 --- a/plinth/modules/gitweb/templates/gitweb_delete.html +++ b/plinth/modules/gitweb/templates/gitweb_delete.html @@ -40,9 +40,6 @@ - - {% trans "Cancel" %} {% endblock %}