diff options
author | Jonathan Tran <jonnytran@gmail.com> | 2021-05-03 13:27:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 13:27:48 -0400 |
commit | 5e047b9bd7ba4bfa1c1ae3683eabe7e290de5728 (patch) | |
tree | 4f677454d6184de0ba06fed197a478ec6ce8dfe7 /templates/repo/release | |
parent | 1b017fe7ca9df5a8c7d7823a1ded897fc324f9d3 (diff) | |
download | gitea-5e047b9bd7ba4bfa1c1ae3683eabe7e290de5728.tar.gz gitea-5e047b9bd7ba4bfa1c1ae3683eabe7e290de5728.zip |
Add compare tag dropdown to releases page (#15695)
* Add compare tag dropdown to releases page
* Change defaults to be more intuitive and remove unneeded option
* Fix to select branch on releases page
Co-authored-by: Jonathan Tran <jon@allspice.io>
Co-authored-by: Kyle D <kdumontnu@gmail.com>
Diffstat (limited to 'templates/repo/release')
-rw-r--r-- | templates/repo/release/list.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index ce4de3ddfa..6829e3e8e2 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -80,6 +80,7 @@ <span class="commit"> <a class="mono" href="{{$.RepoLink}}/src/commit/{{.Sha1}}" rel="nofollow">{{svg "octicon-git-commit" 16 "mr-2"}}{{ShortSha .Sha1}}</a> </span> + {{template "repo/branch_dropdown" dict "root" $ "release" .}} {{end}} </div> <div class="ui twelve wide column detail"> |