take out dropup on build tiles and use title attribtue instead
This commit is contained in:
parent
fbb30d120c
commit
fedc6acec1
|
@ -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`
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user