aboutsummaryrefslogtreecommitdiff
path: root/templates/gitlist.qtpl
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-05-30 18:08:12 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-05-30 18:08:12 +0200
commit8f5f9ff24b0327f7640e3619de109e1f19cfba1d (patch)
tree693e669355c00ed2445da34f4032bfd60abdbbe8 /templates/gitlist.qtpl
parentfb45f1f5002ffdb40150333c5a48458b801f3022 (diff)
downloadcerrado-8f5f9ff24b0327f7640e3619de109e1f19cfba1d.tar.gz
cerrado-8f5f9ff24b0327f7640e3619de109e1f19cfba1d.tar.bz2
cerrado-8f5f9ff24b0327f7640e3619de109e1f19cfba1d.zip
feat: Add git sub page
Diffstat (limited to 'templates/gitlist.qtpl')
-rw-r--r--templates/gitlist.qtpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/gitlist.qtpl b/templates/gitlist.qtpl
index e07f199..b7beca5 100644
--- a/templates/gitlist.qtpl
+++ b/templates/gitlist.qtpl
@@ -17,12 +17,16 @@ type GitListPage struct {
{% for _, r := range p.Respositories %}
<div class="event">
<h4>
- <a href="/{%s r.Name %}">{%s r.Name %}</a>
+ <a href="/{%s r.Name %}/summary">{%s r.Name %}</a>
</h4>
</hr>
<p>{%s r.LastCommitMessage %}</p>
<p><small>{%s r.LastCommitDate %}</small></p>
- <p><a href="#">summary</a> <a href="#">log</a> <a href="#">tree</a></p>
+ <p>
+ <a href="/{%s r.Name %}/summary">summary</a>
+ <a href="/{%s r.Name %}/log">log</a>
+ <a href="/{%s r.Name %}/tree">tree</a>
+ </p>
</div>
{% endfor %}
</div>