Commit messages now rendered with line breaks and prefix spacing.

This commit is contained in:
Sergio Benitez
2015-09-18 18:57:06 -07:00
parent 2340bb1ed2
commit 7acbcf9ddd
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}}