Drop image and add status for Annotation
This commit is contained in:
parent
9e2a8cb218
commit
715b1a2d36
|
@ -4,7 +4,7 @@ require 'travis/model'
|
|||
jobId: Ember.attr('number')
|
||||
description: Ember.attr('string')
|
||||
url: Ember.attr('string')
|
||||
image: Ember.attr('object')
|
||||
status: Ember.attr('string')
|
||||
providerName: Ember.attr('string')
|
||||
|
||||
job: Ember.belongsTo('Travis.Job')
|
||||
|
|
|
@ -2,11 +2,7 @@
|
|||
{{#each annotation in view.annotations}}
|
||||
<div class="annotation">
|
||||
<a {{bindAttr href="annotation.url"}}>
|
||||
{{#if annotation.image}}
|
||||
<img {{bindAttr src="annotation.image.url" alt="annotation.image.alt"}}>
|
||||
{{else}}
|
||||
{{annotation.providerName}}
|
||||
{{/if}}
|
||||
{{annotation.status}} {{annotation.providerName}}
|
||||
</a>:
|
||||
{{annotation.description}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user