diff options
author | Gary Kim <gary@garykim.dev> | 2019-08-20 21:08:16 +0000 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-08-20 22:08:16 +0100 |
commit | 5f7fccaf55b23e207e5874e620a1072e68266d21 (patch) | |
tree | 364be5205a648d350143304f67e3be5ef4e51697 | |
parent | ed58919bfc7ba467492a28cd55446c6259f07baa (diff) | |
download | gitea-5f7fccaf55b23e207e5874e620a1072e68266d21.tar.gz gitea-5f7fccaf55b23e207e5874e620a1072e68266d21.zip |
Revert RenderCommitMessageLink part of #7659 (#7923)
RenderCommitMessageLink may have the
potential for issues and is overall
not very intuitive for the user in its
current state.
This commit will revert the usage
of RenderCommitMessageLink that was
added in #7659 to work on addressing
some of those issues to and merge this
feature again in a more polished state.
Signed-off-by: Gary Kim <gary@garykim.dev>
-rw-r--r-- | templates/repo/view_list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 28dcd2721c..c35f5d7e35 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -83,7 +83,7 @@ {{end}} <td class="message"> <span class="truncate has-emoji"> - {{RenderCommitMessageLink $commit.Message $.RepoLink (Printf "%s/commit/%s" $.RepoLink $commit.ID) $.Repository.ComposeMetas}} + <a href="{{$.RepoLink}}/commit/{{$commit.ID}}" title="{{$commit.Summary}}">{{$commit.Summary}}</a> </span> </td> <td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td> |