aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJimmy Praet <jimmy.praet@ksz-bcss.fgov.be>2020-12-03 11:50:47 +0100
committerGitHub <noreply@github.com>2020-12-03 11:50:47 +0100
commit056b8f5b52fc0e9ab32f99c016e1ee28975c4bcd (patch)
tree143cc94f5ded3ec1897bd509e30351149c691170 /templates
parent18712eab791fe3c4cd6fa959eb1ab4b75c935cb3 (diff)
downloadgitea-056b8f5b52fc0e9ab32f99c016e1ee28975c4bcd.tar.gz
gitea-056b8f5b52fc0e9ab32f99c016e1ee28975c4bcd.zip
Clickable links in pull request (and issue) titles (#13695)
* clickable links in pull request (and issue) titles #13658 reuses the existing logic to render clickable links in commit messages * dedicated RenderIssueTitle function applied patch from @mrsdizzie
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/view_title.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl
index e2a14502f4..0d594b3a5c 100644
--- a/templates/repo/issue/view_title.tmpl
+++ b/templates/repo/issue/view_title.tmpl
@@ -6,7 +6,7 @@
</div>
{{end}}
<h1>
- <span id="issue-title">{{RenderEmoji .Issue.Title}}</span>
+ <span id="issue-title">{{RenderIssueTitle .Issue.Title $.RepoLink $.Repository.ComposeMetas}}</span>
<span class="index">#{{.Issue.Index}}</span>
<div id="edit-title-input" class="ui input" style="display: none">
<input value="{{.Issue.Title}}" maxlength="255">