From eeabd06faf762e4af5cecfd7a6020edf6877aaba Mon Sep 17 00:00:00 2001 From: Harvey Kandola Date: Thu, 19 May 2016 15:49:06 -0700 Subject: [PATCH] trello list width set to 300px --- .../components/section/trello/type-editor.js | 5 + .../components/section/trello/type-editor.hbs | 2 +- .../section/trello/type-renderer.hbs | 96 +++++++++---------- 3 files changed, 54 insertions(+), 49 deletions(-) diff --git a/app/app/components/section/trello/type-editor.js b/app/app/components/section/trello/type-editor.js index ba71ad3b..332eb5f9 100644 --- a/app/app/components/section/trello/type-editor.js +++ b/app/app/components/section/trello/type-editor.js @@ -23,6 +23,11 @@ export default Ember.Component.extend(SectionMixin, NotifierMixin, TooltipMixin, config: {}, boards: null, + boardStyle: Ember.computed('config.board', function() { + var color = this.get('config.board').prefs.backgroundColor; + return Ember.String.htmlSafe("background-color: " + color); + }), + didReceiveAttrs() { let config = {}; diff --git a/app/app/templates/components/section/trello/type-editor.hbs b/app/app/templates/components/section/trello/type-editor.hbs index 998a1e30..11ba75e1 100644 --- a/app/app/templates/components/section/trello/type-editor.hbs +++ b/app/app/templates/components/section/trello/type-editor.hbs @@ -73,7 +73,7 @@
Select lists to include
-
+
{{config.board.name}}
{{#each config.lists as |list|}}
diff --git a/app/app/templates/components/section/trello/type-renderer.hbs b/app/app/templates/components/section/trello/type-renderer.hbs index db8fbf6b..4f2743a9 100644 --- a/app/app/templates/components/section/trello/type-renderer.hbs +++ b/app/app/templates/components/section/trello/type-renderer.hbs @@ -1,54 +1,54 @@ - -{{{page.body}}} \ No newline at end of file +{{{page.body}}}