From 90675b13801e8b97264da7445d77c95abcd8ec3d Mon Sep 17 00:00:00 2001 From: Lisa P Date: Wed, 18 Nov 2015 14:54:39 +0100 Subject: [PATCH] remove annotations --- app/controllers/job.coffee | 1 - app/styles/app.scss | 1 - app/styles/app/main/annotations.sass | 17 ----------------- app/templates/annotations/list.hbs | 12 ------------ app/templates/build.hbs | 4 ---- app/templates/job.hbs | 2 -- app/views/annotation.coffee | 6 ------ app/views/annotations.coffee | 5 ----- app/views/job.coffee | 1 - 9 files changed, 49 deletions(-) delete mode 100644 app/styles/app/main/annotations.sass delete mode 100644 app/templates/annotations/list.hbs delete mode 100644 app/views/annotation.coffee delete mode 100644 app/views/annotations.coffee diff --git a/app/controllers/job.coffee b/app/controllers/job.coffee index 496a2247..42196a8a 100644 --- a/app/controllers/job.coffee +++ b/app/controllers/job.coffee @@ -6,7 +6,6 @@ Controller = Ember.Controller.extend repoBinding: 'repoController.repo' commitBinding: 'job.commit' - annotationsBinding: 'job.annotations' currentUserBinding: 'auth.currentUser' tabBinding: 'repoController.tab' diff --git a/app/styles/app.scss b/app/styles/app.scss index e82536f8..68e88824 100644 --- a/app/styles/app.scss +++ b/app/styles/app.scss @@ -12,7 +12,6 @@ @import "app/forms"; @import "app/github"; -@import "app/main/annotations"; @import "app/userlike"; @import "app/main/log"; diff --git a/app/styles/app/main/annotations.sass b/app/styles/app/main/annotations.sass deleted file mode 100644 index 35fe3b3c..00000000 --- a/app/styles/app/main/annotations.sass +++ /dev/null @@ -1,17 +0,0 @@ - -#annotations - @include clearfix - margin: 8px 0 25px 12px - padding: 12px 0 0 0 - - a - text-decoration: underline - - img - border: none - - .annotation - float: left - min-height: 25px - margin: 0 - diff --git a/app/templates/annotations/list.hbs b/app/templates/annotations/list.hbs deleted file mode 100644 index 45cd5487..00000000 --- a/app/templates/annotations/list.hbs +++ /dev/null @@ -1,12 +0,0 @@ -{{#if view.annotations}} -
- {{#each view.annotations as |annotation|}} - - {{/each}} -
-{{/if}} diff --git a/app/templates/build.hbs b/app/templates/build.hbs index 40e72f2a..5ae9f8fb 100644 --- a/app/templates/build.hbs +++ b/app/templates/build.hbs @@ -4,10 +4,6 @@ {{build-header item=build user=auth.currentUser commit=commit repo=repo}} - {{#unless build.isMatrix}} - {{view 'annotations' annotations=build.jobs.firstObject.annotations}} - {{/unless}} - {{#if build.isMatrix}} {{#if jobsLoaded}} {{jobs-list jobs=build.requiredJobs repo=repo required="true"}} diff --git a/app/templates/job.hbs b/app/templates/job.hbs index ac49a931..11a6a833 100644 --- a/app/templates/job.hbs +++ b/app/templates/job.hbs @@ -2,8 +2,6 @@ {{build-header item=job user=auth.currentUser commit=job.commit repo=repo}} - {{view 'annotations' annotations=view.annotations}} - {{job-log job=job}} {{else}} diff --git a/app/views/annotation.coffee b/app/views/annotation.coffee deleted file mode 100644 index e5c1f2c2..00000000 --- a/app/views/annotation.coffee +++ /dev/null @@ -1,6 +0,0 @@ -`import BasicView from 'travis/views/basic'` - -View = BasicView.extend - templateName: 'annotations/list' - -`export default View` diff --git a/app/views/annotations.coffee b/app/views/annotations.coffee deleted file mode 100644 index 46fb86a2..00000000 --- a/app/views/annotations.coffee +++ /dev/null @@ -1,5 +0,0 @@ -`import Ember from 'ember'` - -View = Ember.View.extend() - -`export default View` diff --git a/app/views/job.coffee b/app/views/job.coffee index b4c6a092..f9d93bbd 100644 --- a/app/views/job.coffee +++ b/app/views/job.coffee @@ -9,7 +9,6 @@ View = Ember.View.extend Polling, repoBinding: 'controller.repo' jobBinding: 'controller.job' commitBinding: 'job.commit' - annotationsBinding: 'job.annotations' currentItemBinding: 'job'