From 340d758e924f2099094b01002b81e080f58b5a1d Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 15 Sep 2014 12:27:34 +0200 Subject: [PATCH] add internal-border to ticket items its not that beautiful yet --- .../app/controllers/ticket_zoom.js.coffee | 4 +- .../views/ticket_zoom/article_view.jst.eco | 6 ++- app/assets/stylesheets/zzz.css.erb | 44 ++++++++----------- 3 files changed, 25 insertions(+), 29 deletions(-) diff --git a/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee b/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee index 183b3f72a..eb12b7d84 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee @@ -883,9 +883,9 @@ class ArticleView extends App.Controller # runntime update if internal - $(e.target).closest('.ticket-article-item').find('.text-bubble').addClass('internal') + $(e.target).closest('.ticket-article-item').addClass('is-internal') else - $(e.target).closest('.ticket-article-item').find('.text-bubble').removeClass('internal') + $(e.target).closest('.ticket-article-item').removeClass('is-internal') show_toogle: (e) -> e.stopPropagation() diff --git a/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco b/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco index c77f0825a..d5f41ad03 100644 --- a/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco +++ b/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco @@ -1,5 +1,5 @@ <% for article in @articles: %> -
+