Add repo name label again on dashboard issue / pulls page (#14073)

The label got removed in PR #13594

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
Jimmy Praet 2020-12-20 23:52:29 +01:00 committed by GitHub
parent b4f8da533e
commit 14ac3e617f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@
</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 }}