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