take out dropup on build tiles and use title attribtue instead

This commit is contained in:
Lisa P 2015-10-06 00:54:08 +02:00
parent fbb30d120c
commit fedc6acec1
3 changed files with 11 additions and 5 deletions

View File

@ -4,5 +4,11 @@ BuildTileComponent = Ember.Component.extend
tagName: 'li'
classNameBindings: ['build.state']
attributeBindings: ['title'],
title: (->
num = @get('build.number')
"##{num}"
).property('build')
`export default BuildTileComponent`

View File

@ -141,6 +141,7 @@
.dropup--status
@extend %dropup
left: 0
right: 0
margin: auto
display: none
@ -152,7 +153,6 @@
margin-right: 0
@media #{$medium-up}
top: -2.3em
width: 5em
padding: .1em .1em
white-space: nowrap
font-size: 14px;

View File

@ -1,10 +1,10 @@
{{#if build.number}}
{{#link-to "build" build.repository build.id class="dropup-trigger"}}
{{#link-to "build" build.repository.slug build.id}}
{{status-icon status=build.state}}
{{build.last_build.state}}
<div class="dropup--status">
{{!-- <div class="dropup--status">
{{request-icon build=build}} <span class="label-align">#{{build.number}}</span>
</div>
</div> --}}
{{/link-to}}
{{/if}}
{{/if}}