diff options
author | Adam Strzelecki <ono@java.pl> | 2015-12-07 00:18:12 +0100 |
---|---|---|
committer | Adam Strzelecki <ono@java.pl> | 2015-12-07 01:50:45 +0100 |
commit | e2ca53029e0c4c28c0796d3d55bfecf28c132d2e (patch) | |
tree | f3815745e988911a34edb7524b69048ee4f9c17c /templates/repo/commits_table.tmpl | |
parent | b5f6206a659eaa76382774675f2e3f2664d0f501 (diff) | |
download | gitea-e2ca53029e0c4c28c0796d3d55bfecf28c132d2e.tar.gz gitea-e2ca53029e0c4c28c0796d3d55bfecf28c132d2e.zip |
Render commit msg as header + verbatim description
Most commit in Git are expected to follow standard of single header line,
followed by description paragraphs, separated by empty line from previous block.
Previously Gogs were treating everything as single header. Now we are trying to
render only first line as header, but following lines (description chunks) as a
verbatim.
Diffstat (limited to 'templates/repo/commits_table.tmpl')
-rw-r--r-- | templates/repo/commits_table.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index 2adc1770f9..8bab2be00f 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -37,7 +37,7 @@ </td> <td class="message collapsing"> <a rel="nofollow" class="ui sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.ID}}">{{ShortSha .ID.String}}</a> - {{RenderCommitMessage .Summary $.RepoLink $.Repository.ComposeMetas}} + {{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas}} </td> <td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td> </tr> |