diff options
Diffstat (limited to 'templates/gititemrefs.qtpl')
-rw-r--r-- | templates/gititemrefs.qtpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/gititemrefs.qtpl b/templates/gititemrefs.qtpl index 9c58863..56f6c2b 100644 --- a/templates/gititemrefs.qtpl +++ b/templates/gititemrefs.qtpl @@ -8,7 +8,7 @@ type GitItemRefsPage struct { } %} -{% func (g *GitItemRefsPage) Nav(name string) %}{%= GitItemNav(name ,Refs) %}{% endfunc %} +{% func (g *GitItemRefsPage) Nav(name, ref string) %}{%= GitItemNav(name, ref, Refs) %}{% endfunc %} {% func (g *GitItemRefsPage) GitContent() %} <div class="row"> @@ -36,7 +36,7 @@ type GitItemRefsPage struct { {% for _, b := range g.Branches %} <div class="row"> <div class="col-xxl"> - {%s b.String() %} + {%s b.Name().Short() %} </div> </div> {% endfor %} |