summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
author无闻 <u@gogs.io>2015-09-24 17:23:53 -0400
committer无闻 <u@gogs.io>2015-09-24 17:23:53 -0400
commitbefed9c20c99840acbb91995b32103311e07b267 (patch)
tree72b839504fd84c1003ee49169f45d9a343e70abb /templates/repo
parente787e73e2f8adc76cee471549fb04d7bbfd76b7d (diff)
parent7acbcf9ddd5058fa131d5d0eeee4ce346988ad80 (diff)
downloadgitea-befed9c20c99840acbb91995b32103311e07b267.tar.gz
gitea-befed9c20c99840acbb91995b32103311e07b267.zip
Merge pull request #1662 from SergioBenitez/develop
Commit messages now rendered with line breaks and prefix spacing.
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/diff.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl
index a280c81e17..2e9bdd0342 100644
--- a/templates/repo/diff.tmpl
+++ b/templates/repo/diff.tmpl
@@ -6,12 +6,12 @@
{{template "repo/commits_table" .}}
{{else}}
<h4 class="ui top attached info header">
- {{RenderCommitMessage .Commit.Message $.RepoLink}}
<div class="ui right">
<a class="ui blue tiny button" href="{{EscapePound .SourcePath}}">
{{.i18n.Tr "repo.diff.browse_source"}}
</a>
</div>
+ {{RenderCommitMessage .Commit.Message $.RepoLink}}
</h4>
<div class="ui attached info segment">
{{if .Author}}