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
此提交包含在:
Jimmy Praet
2020-12-03 11:50:47 +01:00
提交者 GitHub
父節點 18712eab79
當前提交 056b8f5b52
共有 3 個檔案被更改,包括 31 行新增1 行删除
+1 -1
查看文件
@@ -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">