]> source.dussan.org Git - gitea.git/commitdiff
Present repository name as {{name}}#{{index}} instead of label on dashboard issuelist...
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>
Mon, 21 Dec 2020 08:31:20 +0000 (09:31 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Dec 2020 08:31:20 +0000 (16:31 +0800)
Co-authored-by: Lauris BH <lauris@nix.lv>
templates/shared/issuelist.tmpl

index d1a2c4b339c6fde00766ebeedec1be46d31862d5..131de83f5ed8ff01bb04bdd607a9c43b077f641a 100644 (file)
@@ -31,9 +31,6 @@
                        </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 }}
                                </div>
                                <div class="desc issue-item-bottom-row df ac fw my-1">
                                        <a class="index ml-0 mr-2" href="{{if .HTMLURL}}{{.HTMLURL}}{{else}}{{$.Link}}/{{.Index}}{{end}}">
-                                               #{{.Index}}
+                                               {{if eq $.listType "dashboard"}}
+                       {{.Repo.FullName}}#{{.Index}}
+               {{else}}
+                                                       #{{.Index}}
+                                               {{end}}
                                        </a>
                                        {{ $timeStr := TimeSinceUnix .GetLastEventTimestamp $.Lang }}
                                        {{if .OriginalAuthor }}