diff --git a/app/assets/javascripts/app/controllers/agent_ticket_create.js.coffee b/app/assets/javascripts/app/controllers/agent_ticket_create.js.coffee index 8abbd12f3..3447539ef 100644 --- a/app/assets/javascripts/app/controllers/agent_ticket_create.js.coffee +++ b/app/assets/javascripts/app/controllers/agent_ticket_create.js.coffee @@ -185,10 +185,10 @@ class App.TicketCreate extends App.Controller ) # show template UI - new App.WidgetTemplate( - el: @el.find('.ticket_template') - template_id: template['id'] - ) + # new App.WidgetTemplate( + # el: @el.find('.ticket_template') + # template_id: template['id'] + # ) @formDefault = @formParam( @el.find('.ticket-create') ) diff --git a/app/assets/javascripts/app/controllers/widget/template.js.coffee b/app/assets/javascripts/app/controllers/widget/template.js.coffee index 9367285ea..7c12c8109 100644 --- a/app/assets/javascripts/app/controllers/widget/template.js.coffee +++ b/app/assets/javascripts/app/controllers/widget/template.js.coffee @@ -23,7 +23,7 @@ class App.WidgetTemplate extends App.ControllerDrox # insert data @html @template( file: 'widget/template' - header: 'Templates' + header: 'Select Template:' params: template: template ) diff --git a/app/assets/javascripts/app/views/agent_ticket_create.jst.eco b/app/assets/javascripts/app/views/agent_ticket_create.jst.eco index 780377332..fd1c859e5 100644 --- a/app/assets/javascripts/app/views/agent_ticket_create.jst.eco +++ b/app/assets/javascripts/app/views/agent_ticket_create.jst.eco @@ -1,96 +1,211 @@ -
-
- - - - -
- -
- - +
+
+
+ -
- - -
+
    -
    - - -
    +
  • + + <%- @T( 'E-Mail' ) %> -
    -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    +
  • +
    + <%- @T( 'Received Call' ) %> + +
  • +
    + <%- @T( 'Outbound Call' ) %> + +
+ + + +
+ +
- - + +
-
+
+ + +
- -
- <%- @T( 'Cancel & Go Back' ) %> - -
- +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+ + +
+ +
+ + +
+ <%- @T( 'Cancel & Go Back' ) %> + +
+ +
-
-