Merge pull request #1662 from SergioBenitez/develop

Commit messages now rendered with line breaks and prefix spacing.
This commit is contained in:
无闻 2015-09-24 17:23:53 -04:00
commit befed9c20c
2 changed files with 35 additions and 2 deletions

View file

@ -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}}