summaryrefslogtreecommitdiffstats
path: root/templates/repo/commits_table.tmpl
diff options
context:
space:
mode:
authorGary Kim <gary@garykim.dev>2019-08-20 12:40:06 +0000
committerLunny Xiao <xiaolunwen@gmail.com>2019-08-20 20:40:06 +0800
commit852876a982584ebb62042ef80afd4ddb46893de4 (patch)
tree1606fbddb8a01453208aa9c6d93c5325221f0fef /templates/repo/commits_table.tmpl
parent08c63190c68ca63f99f510f7f2c6cda41d531343 (diff)
downloadgitea-852876a982584ebb62042ef80afd4ddb46893de4.tar.gz
gitea-852876a982584ebb62042ef80afd4ddb46893de4.zip
Provide links in commit summaries in commits table/view list (#7659)
* Provide links in commit summaries in commits table/view list Signed-off-by: Gary Kim <gary@garykim.dev> * Check that hashes are commits before making them links Signed-off-by: Gary Kim <gary@garykim.dev> * Revert "Check that hashes are commits before making them links" This reverts commit a88564b8bc9872d4bf11062a4ebcb2f42b702200. * Add Commit Message Links to Files List Signed-off-by: Gary Kim <gary@garykim.dev>
Diffstat (limited to 'templates/repo/commits_table.tmpl')
-rw-r--r--templates/repo/commits_table.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl
index 7ea854103c..6561c0f258 100644
--- a/templates/repo/commits_table.tmpl
+++ b/templates/repo/commits_table.tmpl
@@ -71,7 +71,7 @@
</td>
<td class="message">
<span class="message-wrapper">
- <span class="commit-summary has-emoji{{if gt .ParentCount 1}} grey text{{end}}" title="{{.Summary}}">{{.Summary}}</span>
+ <span class="commit-summary has-emoji{{if gt .ParentCount 1}} grey text{{end}}" title="{{.Summary}}">{{RenderCommitMessage .Message $.RepoLink $.Repository.ComposeMetas}}</span>
</span>
{{if IsMultilineCommitMessage .Message}}
<button class="basic compact mini ui icon button commit-button"><i class="ellipsis horizontal icon"></i></button>