From f5eebef2befd1cf698cc3e3b28cc4a36c7480dcc Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 18 Sep 2013 20:43:01 +0200 Subject: [PATCH] Moved to widget namespace. --- .../javascripts/app/controllers/template_widget.js.coffee | 2 +- .../javascripts/app/controllers/text_module_widget.js.coffee | 2 +- .../views/{template_widget.jst.eco => widget/template.jst.eco} | 0 .../{text_module_widget.jst.eco => widget/text_module.jst.eco} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename app/assets/javascripts/app/views/{template_widget.jst.eco => widget/template.jst.eco} (100%) rename app/assets/javascripts/app/views/{text_module_widget.jst.eco => widget/text_module.jst.eco} (100%) diff --git a/app/assets/javascripts/app/controllers/template_widget.js.coffee b/app/assets/javascripts/app/controllers/template_widget.js.coffee index c283597e3..68f0f93a6 100644 --- a/app/assets/javascripts/app/controllers/template_widget.js.coffee +++ b/app/assets/javascripts/app/controllers/template_widget.js.coffee @@ -22,7 +22,7 @@ class App.TemplateUI extends App.ControllerDrox # insert data @html @template( - file: 'template_widget' + file: 'widget/template' header: 'Templates' params: template: template diff --git a/app/assets/javascripts/app/controllers/text_module_widget.js.coffee b/app/assets/javascripts/app/controllers/text_module_widget.js.coffee index fdd23daf0..54971e58e 100644 --- a/app/assets/javascripts/app/controllers/text_module_widget.js.coffee +++ b/app/assets/javascripts/app/controllers/text_module_widget.js.coffee @@ -191,7 +191,7 @@ class App.TextModuleUIOld extends App.Controller ) # insert data - @html App.view('text_module_widget')( + @html App.view('widget/text_module')( search: @search, ) diff --git a/app/assets/javascripts/app/views/template_widget.jst.eco b/app/assets/javascripts/app/views/widget/template.jst.eco similarity index 100% rename from app/assets/javascripts/app/views/template_widget.jst.eco rename to app/assets/javascripts/app/views/widget/template.jst.eco diff --git a/app/assets/javascripts/app/views/text_module_widget.jst.eco b/app/assets/javascripts/app/views/widget/text_module.jst.eco similarity index 100% rename from app/assets/javascripts/app/views/text_module_widget.jst.eco rename to app/assets/javascripts/app/views/widget/text_module.jst.eco