From e9098e00fb6339b759df5b0df2e086cef8a7ce83 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Fri, 7 Jun 2024 23:02:54 +0200 Subject: feat: Rework some pages --- templates/gitlist.qtpl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'templates/gitlist.qtpl') diff --git a/templates/gitlist.qtpl b/templates/gitlist.qtpl index 3d7ef82..937ba22 100644 --- a/templates/gitlist.qtpl +++ b/templates/gitlist.qtpl @@ -3,6 +3,7 @@ {% code type GitListPage struct { Respositories []*service.Repository + About []byte } %} @@ -12,7 +13,7 @@ type GitListPage struct { {% func (p *GitListPage) Content() %}
-
+
{% for _, r := range p.Respositories %}
@@ -20,8 +21,7 @@ type GitListPage struct { {%s r.Name %} -

{%s r.LastCommitMessage %}

-

{%s r.LastCommitDate %}

+

{%s r.Description %}

log tree @@ -30,9 +30,12 @@ type GitListPage struct {

{% endfor %}
- {% endfunc %} +
+
+ {%z= p.About %}
+{% endfunc %} {% func (p *GitListPage) Script() %} {% endfunc %} -- cgit v1.2.3