aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemsummary.qtpl
diff options
context:
space:
mode:
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>