aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemsummary.qtpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/gititemsummary.qtpl')
-rw-r--r--templates/gititemsummary.qtpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/gititemsummary.qtpl b/templates/gititemsummary.qtpl
index f2de5be..f39a613 100644
--- a/templates/gititemsummary.qtpl
+++ b/templates/gititemsummary.qtpl
@@ -1,12 +1,11 @@
{% import "github.com/go-git/go-git/v5/plumbing" %}
-{% import "github.com/go-git/go-git/v5/plumbing/object" %}
{% import "git.gabrielgio.me/cerrado/pkg/git" %}
{% code
type GitItemSummaryPage struct {
Tags []*git.TagReference
Branches []*plumbing.Reference
- Commits []*object.Commit
+ Commits []*git.CommitReference
}
%}
@@ -35,6 +34,7 @@ type GitItemSummaryPage struct {
{% endfor %}
</div>
</div>
+ <a class="more" href="/{%s name %}/refs/">[ see refs... ]</a>
</div>
<div class="row">
<div class="event-list">
@@ -42,5 +42,6 @@ type GitItemSummaryPage struct {
{%= Commit(name, c, false) %}
{% endfor %}
</div>
+ <a class="more" href="/{%s name %}/log/{%s ref %}/">[ see log... ]</a>
</div>
{% endfunc %}