Fix status badge icon
This commit is contained in:
parent
702b975624
commit
abb5f422f2
|
@ -28,6 +28,17 @@ Travis.reopen
|
||||||
)
|
)
|
||||||
).observes('controller.repo.isLoaded')
|
).observes('controller.repo.isLoaded')
|
||||||
|
|
||||||
|
statusImages: ->
|
||||||
|
@popupCloseAll()
|
||||||
|
view = Travis.StatusImagesView.create(toolsView: this)
|
||||||
|
Travis.View.currentPopupView = view
|
||||||
|
view.appendTo($('body'))
|
||||||
|
event.stopPropagation()
|
||||||
|
|
||||||
|
statusImageUrl: (->
|
||||||
|
Travis.Urls.statusImage(@get('controller.repo.slug'))
|
||||||
|
).property('controller.repo.slug')
|
||||||
|
|
||||||
ReposEmptyView: Travis.View.extend
|
ReposEmptyView: Travis.View.extend
|
||||||
template: ''
|
template: ''
|
||||||
|
|
||||||
|
@ -151,10 +162,6 @@ Travis.reopen
|
||||||
permissions.contains parseInt(@get('repo.id'))
|
permissions.contains parseInt(@get('repo.id'))
|
||||||
).property('currentUser.adminPermissions.length', 'repo.id')
|
).property('currentUser.adminPermissions.length', 'repo.id')
|
||||||
|
|
||||||
statusImageUrl: (->
|
|
||||||
Travis.Urls.statusImage(@get('slug'))
|
|
||||||
).property('slug')
|
|
||||||
|
|
||||||
displaySettingsLink: (->
|
displaySettingsLink: (->
|
||||||
@get('hasPushPermission')
|
@get('hasPushPermission')
|
||||||
).property('hasPushPermission')
|
).property('hasPushPermission')
|
||||||
|
@ -163,14 +170,6 @@ Travis.reopen
|
||||||
@get('hasPermission')
|
@get('hasPermission')
|
||||||
).property('hasPermission')
|
).property('hasPermission')
|
||||||
|
|
||||||
statusImages: ->
|
|
||||||
@popupCloseAll()
|
|
||||||
view = Travis.StatusImagesView.create(toolsView: this)
|
|
||||||
Travis.View.currentPopupView = view
|
|
||||||
view.appendTo($('body'))
|
|
||||||
event.stopPropagation()
|
|
||||||
|
|
||||||
|
|
||||||
RepoActionsView: Travis.View.extend
|
RepoActionsView: Travis.View.extend
|
||||||
templateName: 'repos/show/actions'
|
templateName: 'repos/show/actions'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user