Add footer section for commit and author details.
This commit is contained in:
parent
4554ca3c0b
commit
744e32a15c
|
@ -27,6 +27,28 @@
|
||||||
<pre class="body">
|
<pre class="body">
|
||||||
{{formatMessage build.commit.body repoBinding=build.repo pre=true}}
|
{{formatMessage build.commit.body repoBinding=build.repo pre=true}}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
<div class="author">
|
||||||
|
{{#if commit.authorName}}
|
||||||
|
<img src="https://travis-ci.org/images/mailer/mascot-avatar-40px.png"/>{{commit.authorName}} authored
|
||||||
|
{{/if}}
|
||||||
|
{{#if commit.committerName}}
|
||||||
|
<img src="https://travis-ci.org/images/mailer/mascot-avatar-40px.png"/>{{commit.committerName}} committed
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="commit">
|
||||||
|
<a class="github" {{bind-attr href="controller.urlGithubCommit"}}>Commit {{formatSha commit.sha}}</a><img src="/images/icons/github.png" height="15"/>
|
||||||
|
{{#if build.pullRequest}}
|
||||||
|
<a {{bind-attr href="build.commit.compareUrl"}} >#{{build.pullRequestNumber}}: {{build.pullRequestTitle}}</a> {{else}}
|
||||||
|
{{#if build.commit.compareUrl}}
|
||||||
|
<a {{bind-attr href="build.commit.compareUrl"}}>Compare {{pathFrom build.commit.compareUrl}}</a>
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
|
<img src="/images/icons/github.png" height="15"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<dl id="summary">
|
<dl id="summary">
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
#new-summary
|
#new-summary
|
||||||
@include clearfix
|
@include clearfix
|
||||||
@include border-radius(5px)
|
@include border-radius(5px)
|
||||||
width: 100%
|
|
||||||
background-color: #fafafa
|
background-color: #fafafa
|
||||||
min-height: 30px
|
min-height: 30px
|
||||||
padding: 5px 15px
|
padding: 5px 15px
|
||||||
|
@ -79,7 +78,30 @@
|
||||||
float: right
|
float: right
|
||||||
width: 150px
|
width: 150px
|
||||||
font-size: 11px
|
font-size: 11px
|
||||||
margin-right: 30px
|
|
||||||
|
.footer
|
||||||
|
a
|
||||||
|
text-decoration: underline
|
||||||
|
|
||||||
|
.commit
|
||||||
|
text-align: right
|
||||||
|
width: inherit
|
||||||
|
margin-top: 0px
|
||||||
|
float: right
|
||||||
|
|
||||||
|
img
|
||||||
|
margin-left: 5px
|
||||||
|
margin-right: 5px
|
||||||
|
vertical-align: middle
|
||||||
|
|
||||||
|
.author
|
||||||
|
float: left
|
||||||
|
|
||||||
|
img
|
||||||
|
height: 15px
|
||||||
|
width: 15px
|
||||||
|
|
||||||
|
.github
|
||||||
|
|
||||||
#summary
|
#summary
|
||||||
margin: 0 0 0 12px
|
margin: 0 0 0 12px
|
||||||
|
|
Loading…
Reference in New Issue
Block a user