From 407231f5d715ac76c43d5caa1f6d03be1f67d0f5 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Thu, 28 May 2015 16:21:31 +0200 Subject: [PATCH] style ticket links --- .../app/controllers/widget/link.js.coffee | 4 +-- .../javascripts/app/views/link/info.jst.eco | 17 ++++++--- .../javascripts/app/views/widget/tag.jst.eco | 32 ++++++++--------- app/assets/stylesheets/zammad.css.scss | 35 ++++++++++++++----- 4 files changed, 56 insertions(+), 32 deletions(-) diff --git a/app/assets/javascripts/app/controllers/widget/link.js.coffee b/app/assets/javascripts/app/controllers/widget/link.js.coffee index d513ac1d4..c66495de9 100644 --- a/app/assets/javascripts/app/controllers/widget/link.js.coffee +++ b/app/assets/javascripts/app/controllers/widget/link.js.coffee @@ -1,7 +1,7 @@ class App.WidgetLink extends App.Controller events: - 'click [data-type=add]': 'add', - 'click [data-type=remove]': 'remove', + 'click .js-add': 'add', + 'click .js-remove': 'remove', constructor: -> super diff --git a/app/assets/javascripts/app/views/link/info.jst.eco b/app/assets/javascripts/app/views/link/info.jst.eco index ed91836de..af021fe69 100644 --- a/app/assets/javascripts/app/views/link/info.jst.eco +++ b/app/assets/javascripts/app/views/link/info.jst.eco @@ -1,10 +1,19 @@ <% for type of @links: %> - -