diff options
author | aceArt-GmbH <33117017+aceArt-GmbH@users.noreply.github.com> | 2022-07-26 15:42:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 15:42:23 +0200 |
commit | ed6cd3cbb7cf42086ddb049a22b8f4604f445113 (patch) | |
tree | 91e86e315f8a3b61b1caade1ee5a205155f796f4 /templates/shared/issuelist.tmpl | |
parent | 4fc53a3f30f6c71325b01654019c28c334271109 (diff) | |
download | gitea-ed6cd3cbb7cf42086ddb049a22b8f4604f445113.tar.gz gitea-ed6cd3cbb7cf42086ddb049a22b8f4604f445113.zip |
Display project in issue list (#20434)
Co-authored-by: lukas <lukas.walter@aceart.de>
Diffstat (limited to 'templates/shared/issuelist.tmpl')
-rw-r--r-- | templates/shared/issuelist.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl index 7d0abb689b..d1555c16c5 100644 --- a/templates/shared/issuelist.tmpl +++ b/templates/shared/issuelist.tmpl @@ -89,6 +89,11 @@ {{svg "octicon-milestone" 14 "mr-2"}}{{.Milestone.Name}} </a> {{end}} + {{if .Project}} + <a class="project" {{if $.RepoLink}}href="{{$.RepoLink}}/projects/{{.Project.ID}}"{{else}}href="{{.Repo.Link}}/projects/{{.Project.ID}}"{{end}}> + {{svg "octicon-project" 14 "mr-2"}}{{.Project.Title}} + </a> + {{end}} {{if .Ref}} <a class="ref" {{if $.RepoLink}}href="{{index $.IssueRefURLs .ID}}"{{else}}href="{{.Repo.Link}}{{index $.IssueRefURLs .ID}}"{{end}}> {{svg "octicon-git-branch" 14 "mr-2"}}{{index $.IssueRefEndNames .ID}} |