Skip to content

Commit

Permalink
Present repository name as {{name}}#{{index}} instead of label on das…
Browse files Browse the repository at this point in the history
…hboard issuelist (#14085)

Co-authored-by: Lauris BH <lauris@nix.lv>
  • Loading branch information
CirnoT and lafriks committed Dec 21, 2020
1 parent e8a354f commit 29d12cf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions templates/shared/issuelist.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit 29d12cf

Please sign in to comment.