summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSergio Benitez <sbenitez@mit.edu>2015-09-18 18:57:06 -0700
committerSergio Benitez <sbenitez@mit.edu>2015-09-18 19:02:23 -0700
commit7acbcf9ddd5058fa131d5d0eeee4ce346988ad80 (patch)
tree19399c9e3e6c9673def1f4e2857a3e918370acc9 /templates
parent2340bb1ed24df00936fb23ed6ea7188e43d52eb9 (diff)
downloadgitea-7acbcf9ddd5058fa131d5d0eeee4ce346988ad80.tar.gz
gitea-7acbcf9ddd5058fa131d5d0eeee4ce346988ad80.zip
Commit messages now rendered with line breaks and prefix spacing.
Diffstat (limited to 'templates')
-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}}