diff options
Diffstat (limited to 'templates/gititemlog.qtpl')
-rw-r--r-- | templates/gititemlog.qtpl | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/templates/gititemlog.qtpl b/templates/gititemlog.qtpl index 3588d32..ee3841c 100644 --- a/templates/gititemlog.qtpl +++ b/templates/gititemlog.qtpl @@ -11,18 +11,7 @@ type GitItemLogPage struct { {% func (g *GitItemLogPage) GitContent(name, ref string) %} <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 %} <{%s c.Committer.Email %}></small> - </div> - </div> + {%= Commit(name, c) %} {% endfor %} </div> {% endfunc %} |