]> source.dussan.org Git - gitea.git/commitdiff
Add repo name label again on dashboard issue / pulls page (#14073)
authorJimmy Praet <jimmy.praet@telenet.be>
Sun, 20 Dec 2020 22:52:29 +0000 (23:52 +0100)
committerGitHub <noreply@github.com>
Sun, 20 Dec 2020 22:52:29 +0000 (17:52 -0500)
The label got removed in PR #13594

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
templates/shared/issuelist.tmpl

index adb319a6447a09549ae0fd43e8460c9e66985afa..d1a2c4b339c6fde00766ebeedec1be46d31862d5 100644 (file)
@@ -31,6 +31,9 @@
                        </div>
                        <div class="issue-item-main f1 fc df">
                                <div class="issue-item-top-row df ac fw">
+                                       {{if eq $.listType "dashboard"}}
+                                               <div class="ui label mr-3">{{.Repo.FullName}}</div>
+                                       {{end}}
                                        <a class="title mr-3" href="{{if .HTMLURL}}{{.HTMLURL}}{{else}}{{$.Link}}/{{.Index}}{{end}}">
                                                {{RenderEmoji .Title}}
                                                {{if .IsPull }}