aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/commits_list.tmpl
diff options
context:
space:
mode:
authordelvh <dev.lh@web.de>2023-07-27 12:47:41 +0200
committerGitHub <noreply@github.com>2023-07-27 12:47:41 +0200
commitbd6ef718548767ff209048eb8443a067106908bf (patch)
tree58c48bebaea1307368fb41fa13b349e42353ad8d /templates/repo/commits_list.tmpl
parentbd7b5e61aa8d8f8a7dfd1ce4b49bf6461fce57b8 (diff)
downloadgitea-bd6ef718548767ff209048eb8443a067106908bf.tar.gz
gitea-bd6ef718548767ff209048eb8443a067106908bf.zip
Show branches and tags that contain a commit (#25180)
Now, you can see for a commit which existing branches and tags contain it. You first have to click on the `load branches and tags` button, they are not preloaded by default. All branches and tags are ordered descending by creation date. You can even see without much hassle if the given commit is already part of the default branch. Closes #25152 ## Screenshots ### Initial ![image](https://github.com/go-gitea/gitea/assets/51889757/84db2c0b-aaef-4f69-ab92-0b812793d2ad) ### Loaded ![image](https://github.com/go-gitea/gitea/assets/51889757/a9b84e66-8e44-4c55-b017-c37f4a45f41b) --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/repo/commits_list.tmpl')
-rw-r--r--templates/repo/commits_list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/commits_list.tmpl b/templates/repo/commits_list.tmpl
index 6768bcb513..ef9d065456 100644
--- a/templates/repo/commits_list.tmpl
+++ b/templates/repo/commits_list.tmpl
@@ -70,7 +70,7 @@
{{end}}
</span>
{{if IsMultilineCommitMessage .Message}}
- <button class="ui button ellipsis-button" aria-expanded="false">...</button>
+ <button class="ui button js-toggle-commit-body ellipsis-button" aria-expanded="false">...</button>
{{end}}
{{template "repo/commit_statuses" dict "Status" .Status "Statuses" .Statuses "root" $}}
{{if IsMultilineCommitMessage .Message}}