From b2657a44d9b8fcc01a824a3aa9f3f7648412f702 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Tue, 22 Sep 2015 11:16:06 +0200 Subject: [PATCH] layoutRef: ticket_zoom from highlight ref --- .../app/controllers/layout_ref.js.coffee | 6 +++--- .../javascripts/app/views/layout_ref/index.jst.eco | 2 +- .../{highlight.jst.eco => ticket_zoom.jst.eco} | 14 -------------- 3 files changed, 4 insertions(+), 18 deletions(-) rename app/assets/javascripts/app/views/layout_ref/{highlight.jst.eco => ticket_zoom.jst.eco} (96%) diff --git a/app/assets/javascripts/app/controllers/layout_ref.js.coffee b/app/assets/javascripts/app/controllers/layout_ref.js.coffee index 550517ef7..fff8325cd 100644 --- a/app/assets/javascripts/app/controllers/layout_ref.js.coffee +++ b/app/assets/javascripts/app/controllers/layout_ref.js.coffee @@ -790,7 +790,7 @@ class ErrorRef extends App.ControllerContent App.Config.set( 'layout_ref/error', ErrorRef, 'Routes' ) -class HighlightRef extends App.ControllerContent +class ticketZoomRef extends App.ControllerContent elements: '.article-text': 'articles' '.js-highlight-icon': 'highlightIcon' @@ -839,7 +839,7 @@ class HighlightRef extends App.ControllerContent @loadHighlights() render: -> - @html App.view('layout_ref/highlight') + @html App.view('layout_ref/ticket_zoom') colors: @colors activeColorIndex: @activeColorIndex @@ -939,7 +939,7 @@ class HighlightRef extends App.ControllerContent @storeHighlights() -App.Config.set( 'layout_ref/highlight', HighlightRef, 'Routes' ) +App.Config.set( 'layout_ref/ticket_zoom', ticketZoomRef, 'Routes' ) class CluesRef extends App.ControllerContent diff --git a/app/assets/javascripts/app/views/layout_ref/index.jst.eco b/app/assets/javascripts/app/views/layout_ref/index.jst.eco index 728954e10..14be56e32 100644 --- a/app/assets/javascripts/app/views/layout_ref/index.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/index.jst.eco @@ -4,6 +4,7 @@ -
- 1/36 -
- -