diff --git a/assets/scripts/app/templates/jobs/list.hbs b/assets/scripts/app/templates/jobs/list.hbs index 93f2685f..d576baee 100644 --- a/assets/scripts/app/templates/jobs/list.hbs +++ b/assets/scripts/app/templates/jobs/list.hbs @@ -1,15 +1,14 @@ {{#if view.jobs.length}} + {{#if view.required}} -
- + {{else}} -
- Build Matrix - + Build Matrix +
- + {{/if}} diff --git a/assets/scripts/app/views/job.coffee b/assets/scripts/app/views/job.coffee index 44cb5862..40d89b14 100644 --- a/assets/scripts/app/views/job.coffee +++ b/assets/scripts/app/views/job.coffee @@ -3,6 +3,13 @@ Travis.reopen templateName: 'jobs/list' buildBinding: 'controller.build' + jobTableId: Ember.computed(-> + if @get('required') + 'jobs' + else + 'allowed_failure_jobs' + ) + JobsItemView: Travis.View.extend tagName: 'tr' classNameBindings: ['color']
- Allowed Failures - - + Allowed Failures + +