Skip to content

Commit bbffdda

Browse files
zeripathlunny
andauthored
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 <[email protected]> * as per silverwind Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
1 parent d002e3d commit bbffdda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/issue/view_content/sidebar.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@
468468
{{range .BlockingDependencies}}
469469
<div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} df ac sb">
470470
<div class="item-left df jc fc f1">
471-
<a class="title" href="{{.Issue.Link}}">
471+
<a class="title tooltip" href="{{.Issue.Link}}" data-content="#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}">
472472
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}
473473
</a>
474474
<div class="text small">
@@ -495,7 +495,7 @@
495495
{{range .BlockedByDependencies}}
496496
<div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} df ac sb">
497497
<div class="item-left df jc fc f1">
498-
<a class="title" href="{{.Issue.Link}}">
498+
<a class="title tooltip" href="{{.Issue.Link}}" data-content="#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}">
499499
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}
500500
</a>
501501
<div class="text small">

0 commit comments

Comments
 (0)