disable "cancel build"
This commit is contained in:
parent
8f27943fe4
commit
7759061d4e
|
@ -141,17 +141,19 @@
|
|||
).property('isJobTab', 'job.isFinished', 'hasPermissions')
|
||||
|
||||
canCancelBuild: (->
|
||||
@get('isBuildTab') && @get('build.canCancel') && @get('hasPermission')
|
||||
# @get('isBuildTab') && @get('build.canCancel') && @get('hasPermission')
|
||||
false
|
||||
).property('build.state', 'hasPermission', 'tab')
|
||||
|
||||
canCancelJob: (->
|
||||
# @get('isJobTab') && @get('job.canCancel') && @get('hasPermission')
|
||||
false
|
||||
).property('job.state', 'hasPermission', 'tab')
|
||||
|
||||
canRegenerateKey: (->
|
||||
@get('hasPermission')
|
||||
).property('hasPermission')
|
||||
|
||||
canCancelJob: (->
|
||||
@get('isJobTab') && @get('job.canCancel') && @get('hasPermission')
|
||||
).property('job.state', 'hasPermission', 'tab')
|
||||
|
||||
|
||||
isJobTab: (->
|
||||
@get('tab') == 'job'
|
||||
|
|
Loading…
Reference in New Issue
Block a user