Properly parsing commit body, fixes #137

This commit is contained in:
Klaus Silveira
2013-03-29 00:44:06 -03:00
parent b73af1a64e
commit 919c953f83
2 changed files with 10 additions and 3 deletions

View File

@@ -13,6 +13,9 @@
<h4>{{ commit.message }}</h4>
</div>
<div class="commit-body">
{% if commit.body is not empty %}
<p>{{ commit.body | nl2br }}</p>
{% endif %}
<img src="https://gravatar.com/avatar/{{ commit.author.email | lower | md5 }}?s=32" class="pull-left space-right" />
<span><a href="mailto:{{ commit.author.email }}">{{ commit.author.name }}</a> authored on {{ commit.date | date('d/m/Y \\a\\t H:i:s') }}<br />Showing {{ commit.changedFiles }} changed files</span>
</div>