diff options
Diffstat (limited to '')
-rw-r--r-- | templates/repo_index.tmpl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index d0c65c0..19814cc 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -43,6 +43,24 @@ </table> </div> <div class="padding-wrapper"> + <table id="branches" class="rounded"> + <thead> + <tr class="title-row"> + <th colspan="1">Branches</th> + </tr> + </thead> + <tbody> + {{ range .branches }} + <tr> + <td> + <a href="./?branch={{ . }}">{{ . }}</a> + </td> + </tr> + {{ end }} + </tbody> + </table> + </div> + <div class="padding-wrapper"> <p> <a href="contrib/" class="btn-normal">Merge requests</a> </p> |