green tests
This commit is contained in:
parent
badf832bd8
commit
f8c4377e01
|
@ -23,5 +23,8 @@
|
||||||
githubNetwork: (slug) ->
|
githubNetwork: (slug) ->
|
||||||
"http://github.com/#{slug}/network"
|
"http://github.com/#{slug}/network"
|
||||||
|
|
||||||
|
githubAdmin: (slug) ->
|
||||||
|
"http://github.com/#{slug}/admin/hooks#travis_minibucket"
|
||||||
|
|
||||||
email: (email) ->
|
email: (email) ->
|
||||||
"mailto:#{email}"
|
"mailto:#{email}"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{{#with view.builds}}
|
{{#with view}}
|
||||||
<table id="builds" class="list">
|
<table id="builds" class="list">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
{{#each build in content}}
|
{{#each build in builds}}
|
||||||
{{#view Travis.Views.BuildsItemView contextBinding="build"}}
|
{{#view Travis.Views.BuildsItemView contextBinding="build"}}
|
||||||
<tr {{bindAttr class="view.color"}}>
|
<tr {{bindAttr class="view.color"}}>
|
||||||
<td class="number"><a {{bindAttr href="view.urlBuild"}}>{{number}}</a></td>
|
<td class="number"><a {{bindAttr href="view.urlBuild"}}>{{number}}</a></td>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{{#with view.jobs}}
|
{{#with view}}
|
||||||
{{#if length}}
|
{{#if jobs.length}}
|
||||||
{{#if view.required}}
|
{{#if required}}
|
||||||
<table id="jobs" class="list">
|
<table id="jobs" class="list">
|
||||||
<caption>
|
<caption>
|
||||||
{{t jobs.build_matrix}}
|
{{t jobs.build_matrix}}
|
||||||
|
@ -14,13 +14,13 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
{{#each configKeys}}
|
{{#each build.configKeys}}
|
||||||
<th>{{this}}</th>
|
<th>{{this}}</th>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{{#each job in view.jobs}}
|
{{#each job in jobs}}
|
||||||
{{#view Travis.Views.JobsItemView contextBinding="job"}}
|
{{#view Travis.Views.JobsItemView contextBinding="job"}}
|
||||||
<tr {{bindAttr class="view.color"}}>
|
<tr {{bindAttr class="view.color"}}>
|
||||||
<td class="number"><a {{bindAttr href="view.urlJob"}}>{{number}}</a></td>
|
<td class="number"><a {{bindAttr href="view.urlJob"}}>{{number}}</a></td>
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
{{#unless view.required}}
|
{{#unless required}}
|
||||||
<div id="allow_failure_help" class="context_help">
|
<div id="allow_failure_help" class="context_help">
|
||||||
<div class="context_help_caption">{{t "jobs.allowed_failures"}}</div>
|
<div class="context_help_caption">{{t "jobs.allowed_failures"}}</div>
|
||||||
<div class="context_help_body">
|
<div class="context_help_body">
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
{{#with job}}
|
<pre id="log">{{{formatLog log.body}}}</pre>
|
||||||
<pre id="log">{{{formatLog log.body}}}</pre>
|
|
||||||
|
|
||||||
{{#if sponsor.name}}
|
{{#if sponsor.name}}
|
||||||
<p class="sponsor">
|
<p class="sponsor">
|
||||||
{{t builds.messages.sponsored_by}}
|
{{t builds.messages.sponsored_by}}
|
||||||
<a {{bindAttr href="sponsor.url"}}>{{sponsor.name}}</a>
|
<a {{bindAttr href="sponsor.url"}}>{{sponsor.name}}</a>
|
||||||
</p>
|
</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/with}}
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<dd class="config">{{formatConfig job.config}}</dd>
|
<dd class="config">{{formatConfig job.config}}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
{{view Travis.Views.LogView}}
|
{{view Travis.Views.LogView contextBinding="job"}}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/with}}
|
{{/with}}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
@Travis.Views.reopen
|
@Travis.Views.reopen
|
||||||
JobsView: Em.View.extend
|
JobsView: Em.View.extend
|
||||||
templateName: 'jobs/list'
|
templateName: 'jobs/list'
|
||||||
|
buildBinding: 'controller.build'
|
||||||
|
|
||||||
toggleHelp: ->
|
toggleHelp: ->
|
||||||
$.facebox(div: '#allow_failure_help')
|
$.facebox(div: '#allow_failure_help')
|
||||||
|
|
|
@ -2,12 +2,16 @@
|
||||||
UserView: Em.View.extend
|
UserView: Em.View.extend
|
||||||
templateName: 'profile/show'
|
templateName: 'profile/show'
|
||||||
|
|
||||||
# userBinding: 'controller.user'
|
userBinding: 'controller.user'
|
||||||
|
|
||||||
# gravatarUrl: (->
|
gravatarUrl: (->
|
||||||
# "http://www.gravatar.com/avatar/#{@getPath('user.gravatar')}?s=48&d=mm"
|
"http://www.gravatar.com/avatar/#{@getPath('user.gravatar')}?s=48&d=mm"
|
||||||
# ).property('user.gravatar')
|
).property('user.gravatar')
|
||||||
|
|
||||||
HooksView: Em.View.extend
|
HooksView: Em.View.extend
|
||||||
templateName: 'profile/hooks'
|
templateName: 'profile/hooks'
|
||||||
|
|
||||||
|
urlGithubAdmin: (->
|
||||||
|
Travis.Urls.githubAdmin(@getPath('hook.slug'))
|
||||||
|
).property('hook.slug')
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user