diff options
author | Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> | 2020-12-21 09:31:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-21 16:31:20 +0800 |
commit | 29d12cff928e9ec50d5aaa87b6ced837a87219e0 (patch) | |
tree | 2074ff4ece6b56c040124bd049b1ecd48f2b0554 /templates/shared | |
parent | e8a354f8191fba0f2e4be47aba22f267116d8236 (diff) | |
download | gitea-29d12cff928e9ec50d5aaa87b6ced837a87219e0.tar.gz gitea-29d12cff928e9ec50d5aaa87b6ced837a87219e0.zip |
Present repository name as {{name}}#{{index}} instead of label on dashboard issuelist (#14085)
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/shared')
-rw-r--r-- | templates/shared/issuelist.tmpl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl index d1a2c4b339..131de83f5e 100644 --- a/templates/shared/issuelist.tmpl +++ b/templates/shared/issuelist.tmpl @@ -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 }} @@ -50,7 +47,11 @@ </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 }} |