Present repository name as {{name}}#{{index}} instead of label on dashboard issuelist (#14085)
Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
parent
e8a354f819
commit
29d12cff92
|
@ -31,9 +31,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="issue-item-main f1 fc df">
|
<div class="issue-item-main f1 fc df">
|
||||||
<div class="issue-item-top-row df ac fw">
|
<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}}">
|
<a class="title mr-3" href="{{if .HTMLURL}}{{.HTMLURL}}{{else}}{{$.Link}}/{{.Index}}{{end}}">
|
||||||
{{RenderEmoji .Title}}
|
{{RenderEmoji .Title}}
|
||||||
{{if .IsPull }}
|
{{if .IsPull }}
|
||||||
|
@ -50,7 +47,11 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="desc issue-item-bottom-row df ac fw my-1">
|
<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}}">
|
<a class="index ml-0 mr-2" href="{{if .HTMLURL}}{{.HTMLURL}}{{else}}{{$.Link}}/{{.Index}}{{end}}">
|
||||||
|
{{if eq $.listType "dashboard"}}
|
||||||
|
{{.Repo.FullName}}#{{.Index}}
|
||||||
|
{{else}}
|
||||||
#{{.Index}}
|
#{{.Index}}
|
||||||
|
{{end}}
|
||||||
</a>
|
</a>
|
||||||
{{ $timeStr := TimeSinceUnix .GetLastEventTimestamp $.Lang }}
|
{{ $timeStr := TimeSinceUnix .GetLastEventTimestamp $.Lang }}
|
||||||
{{if .OriginalAuthor }}
|
{{if .OriginalAuthor }}
|
||||||
|
|
Loading…
Reference in a new issue