only show commit message in description if build is pull request, close #166

This commit is contained in:
Lisa Passing 2015-03-16 12:35:35 +01:00
parent 4e532118ea
commit 03bec245aa

View File

@ -18,7 +18,9 @@
{{/if}}
</h2>
<div class="repo-main-description">
<p>{{format-message build.commit.subject repoBinding=build.repo}}</p>
{{#if build.pullRequest}}
<p>{{format-message build.commit.subject repoBinding=build.repo}}</p>
{{/if}}
<pre class="body">{{format-message build.commit.body repoBinding=build.repo pre=true}}</pre>
</div>
<div class="tile-author">