mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 06:25:31 +00:00
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>
This commit is contained in:
parent
d002e3da00
commit
bbffddaa8a
|
@ -468,7 +468,7 @@
|
||||||
{{range .BlockingDependencies}}
|
{{range .BlockingDependencies}}
|
||||||
<div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} df ac sb">
|
<div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} df ac sb">
|
||||||
<div class="item-left df jc fc f1">
|
<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}}
|
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}
|
||||||
</a>
|
</a>
|
||||||
<div class="text small">
|
<div class="text small">
|
||||||
|
@ -495,7 +495,7 @@
|
||||||
{{range .BlockedByDependencies}}
|
{{range .BlockedByDependencies}}
|
||||||
<div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} df ac sb">
|
<div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} df ac sb">
|
||||||
<div class="item-left df jc fc f1">
|
<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}}
|
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}
|
||||||
</a>
|
</a>
|
||||||
<div class="text small">
|
<div class="text small">
|
||||||
|
|
Loading…
Reference in a new issue