aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemsummary.qtpl
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-06-25 12:48:20 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-06-25 12:55:22 +0200
commit75d3ee252e7d966055bb76258d3e0da28488d261 (patch)
treeaae0af64a296f49d8e975b0822f82563e96b9f92 /templates/gititemsummary.qtpl
parent6bd7d92463867a62274867890f32f5832e798ba2 (diff)
downloadcerrado-75d3ee252e7d966055bb76258d3e0da28488d261.tar.gz
cerrado-75d3ee252e7d966055bb76258d3e0da28488d261.tar.bz2
cerrado-75d3ee252e7d966055bb76258d3e0da28488d261.zip
ref: Redo commit cell
Diffstat (limited to 'templates/gititemsummary.qtpl')
-rw-r--r--templates/gititemsummary.qtpl13
1 files changed, 2 insertions, 11 deletions
diff --git a/templates/gititemsummary.qtpl b/templates/gititemsummary.qtpl
index 06a785a..ef2c534 100644
--- a/templates/gititemsummary.qtpl
+++ b/templates/gititemsummary.qtpl
@@ -44,6 +44,7 @@ type GitItemSummaryPage struct {
</div>
<div class="col-8">
<div class="float-end">
+ <a href="/{%s name %}/archive/{%s b.Name().Short() %}.tar.gz">tar.gz</a>
<a href="/{%s name %}/tree/{%s b.Name().Short() %}/">tree</a>
<a href="/{%s name %}/log/{%s b.Name().Short() %}/">log</a>
</div>
@@ -56,17 +57,7 @@ type GitItemSummaryPage struct {
<div class="row">
<div class="event-list">
{% for _, c := range g.Commits %}
- <div class="row event">
- <div class="col-xxl-2">
- {%s TimeFormat(c.Committer.When) %}
- </div>
- <div class="col-xxl-7 code-view">
- <pre>{%s c.Message %}</pre>
- </div>
- <div class="col-xxl-3">
- <small>{%s c.Committer.Name %} &lt;{%s c.Committer.Email %}&gt;</small>
- </div>
- </div>
+ {%= Commit(name, c) %}
{% endfor %}
</div>
</div>