From 1059bc71871c14b813b0bb27b4601e2c2ac65acd Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Thu, 12 Dec 2024 14:26:02 +0100 Subject: feat: Add private label to the UI Now private repository will have a private label on the list. --- templates/gitlist.qtpl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'templates/gitlist.qtpl') diff --git a/templates/gitlist.qtpl b/templates/gitlist.qtpl index fa47008..fc047eb 100644 --- a/templates/gitlist.qtpl +++ b/templates/gitlist.qtpl @@ -18,9 +18,14 @@ type GitListPage struct {
{% for _, r := range p.Respositories %}
-

- {%s r.Name %} -

+
+ +
+ {% if !r.Public %}private{% endif %} +
+

{%s r.Description %}

-- cgit v1.2.3