Fixed build links on worker's list
This commit is contained in:
parent
67aacb7baa
commit
7f6210ec6c
|
@ -67,8 +67,8 @@
|
|||
state = @get('worker.state')
|
||||
payload = @get('worker.payload')
|
||||
|
||||
if state == 'working' && payload?.repo && payload?.build
|
||||
repo = payload.repo.slug
|
||||
if state == 'working' && payload?.repository && payload?.build
|
||||
repo = payload.repository.slug
|
||||
number = ' #' + payload.build.number
|
||||
"<span class='name'>#{name}: #{repo}</span> #{number}".htmlSafe()
|
||||
else
|
||||
|
@ -78,7 +78,3 @@
|
|||
|
||||
QueueItemView: Travis.View.extend
|
||||
tagName: 'li'
|
||||
urlJob: (->
|
||||
Travis.Urls.job(@get('job.repo.slug'), @get('job.id'))
|
||||
).property('job.repo.slug', 'job.id')
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -1 +1 @@
|
|||
010a68d3
|
||||
0f288886
|
Loading…
Reference in New Issue
Block a user