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 @@
- <%- @T('Day') %> + | - <%- @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') %> |