diff options
author | zeripath <art27@cantab.net> | 2022-06-01 20:08:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-01 15:08:34 -0400 |
commit | bbffddaa8a6af1881f9087d21246a0e412166035 (patch) | |
tree | 069318b7b5f59fb9e2e98a6b857156773910bc00 /templates/repo | |
parent | d002e3da008ec6945a405e4f14941bd42a341494 (diff) | |
download | gitea-bbffddaa8a6af1881f9087d21246a0e412166035.tar.gz gitea-bbffddaa8a6af1881f9087d21246a0e412166035.zip |
Add title attribute to dependencies in sidebar (#19807)
* Add title attribute to dependencies in sidebar
Add the full title as the title attribute on dependencies in
the sidebar.
Fix #19806
Signed-off-by: Andrew Thornton <art27@cantab.net>
* as per silverwind
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/issue/view_content/sidebar.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index ffc46bfede..7a966ce878 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -468,7 +468,7 @@ {{range .BlockingDependencies}} <div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} df ac sb"> <div class="item-left df jc fc f1"> - <a class="title" href="{{.Issue.Link}}"> + <a class="title tooltip" href="{{.Issue.Link}}" data-content="#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}"> #{{.Issue.Index}} {{.Issue.Title | RenderEmoji}} </a> <div class="text small"> @@ -495,7 +495,7 @@ {{range .BlockedByDependencies}} <div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} df ac sb"> <div class="item-left df jc fc f1"> - <a class="title" href="{{.Issue.Link}}"> + <a class="title tooltip" href="{{.Issue.Link}}" data-content="#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}"> #{{.Issue.Index}} {{.Issue.Title | RenderEmoji}} </a> <div class="text small"> |