diff --git a/app/assets/javascripts/app/controllers/_application_controller.js.coffee b/app/assets/javascripts/app/controllers/_application_controller.js.coffee index 11bd1ac74..871f28bcc 100644 --- a/app/assets/javascripts/app/controllers/_application_controller.js.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller.js.coffee @@ -557,6 +557,7 @@ class App.ControllerModal extends App.Controller backdrop: true keyboard: true close: true + large: false head: '?' buttonClass: 'btn--success' centerButtons: [] @@ -565,6 +566,8 @@ class App.ControllerModal extends App.Controller options = _.extend( defaults, options ) + @className += ' modal--large' if options.large + super(options) if @shown diff --git a/app/assets/javascripts/app/controllers/calendar.js.coffee b/app/assets/javascripts/app/controllers/calendar.js.coffee index a196e264e..d794b2d0e 100644 --- a/app/assets/javascripts/app/controllers/calendar.js.coffee +++ b/app/assets/javascripts/app/controllers/calendar.js.coffee @@ -52,6 +52,7 @@ class Index extends App.ControllerContent newDialog: => console.log('NEW') @newItemModal = new App.ControllerModal + large: true head: 'New Calendar' content: App.view('calendar/new')() button: 'Create' diff --git a/app/assets/javascripts/app/controllers/layout_ref.js.coffee b/app/assets/javascripts/app/controllers/layout_ref.js.coffee index 09aaab3d1..03f3851c9 100644 --- a/app/assets/javascripts/app/controllers/layout_ref.js.coffee +++ b/app/assets/javascripts/app/controllers/layout_ref.js.coffee @@ -1600,7 +1600,7 @@ class PrimaryEmailRef extends App.ControllerContent @render() render: -> - @html App.view('layout_ref/primary_email') + @html App.view('layout_ref/primary_email')() App.Config.set( 'layout_ref/primary_email', PrimaryEmailRef, 'Routes' ) diff --git a/app/assets/javascripts/app/views/calendar/new.jst.eco b/app/assets/javascripts/app/views/calendar/new.jst.eco index 81a6e37a0..65755f9b1 100644 --- a/app/assets/javascripts/app/views/calendar/new.jst.eco +++ b/app/assets/javascripts/app/views/calendar/new.jst.eco @@ -12,7 +12,7 @@
-
+
Monday - <%- @T('From/Till') %> + - <%- @T('From/Till') %> + + + + + + + + + - <%- @T('Monday') %> - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - <%- @T('Tuesday') %> - - - - - - - - - - - <%- @T('Wednesday') %> - - - - - - - - - - - <%- @T('Thursday') %> - - - - - - - - - - - <%- @T('Friday') %> - - - - - - - - - - - <%- @T('Saturday') %> - - - - - - - - - - - <%- @T('Sunday') %> - - - - - - - - + + <%- @Icon('plus') %> + + <%- @Icon('plus') %> + + <%- @Icon('plus') %> + + <%- @Icon('plus') %> + + <%- @Icon('plus') %> + + <%- @Icon('plus') %> + + <%- @Icon('plus') %> -
diff --git a/app/assets/javascripts/app/views/layout_ref/primary_email.jst.eco b/app/assets/javascripts/app/views/layout_ref/primary_email.jst.eco index 10b577b84..43b8faed7 100644 --- a/app/assets/javascripts/app/views/layout_ref/primary_email.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/primary_email.jst.eco @@ -5,7 +5,7 @@