Improved layout format.

This commit is contained in:
Martin Edenhofer 2015-01-12 08:30:43 +01:00
parent d65fcc87fe
commit d2170259e5

View file

@ -68,14 +68,13 @@ class Table extends App.ControllerContent
# init fetch via ajax, all other updates on time via websockets # init fetch via ajax, all other updates on time via websockets
else else
@ajax( @ajax(
id: 'ticket_overview_' + @key, id: 'ticket_overview_' + @key
type: 'GET', type: 'GET'
url: @apiPath + '/ticket_overviews', url: @apiPath + '/ticket_overviews'
data: { data:
view: @view, view: @view
view_mode: @view_mode, view_mode: @view_mode
} processData: true
processData: true,
success: (data) => success: (data) =>
data.ajax = true data.ajax = true
@load(data) @load(data)
@ -126,8 +125,6 @@ class Table extends App.ControllerContent
render: -> render: ->
# if customer and no ticket exists, show the following message only # if customer and no ticket exists, show the following message only
if !@ticket_list_show[0] && @isRole('Customer') if !@ticket_list_show[0] && @isRole('Customer')
@html App.view('customer_not_ticket_exists')() @html App.view('customer_not_ticket_exists')()
@ -556,19 +553,19 @@ class App.OverviewSettings extends App.ControllerModal
}, },
{ {
value: 'last_contact' value: 'last_contact'
name: 'Last Contact' name: 'Last Contact Time'
}, },
{ {
value: 'last_contact_agent' value: 'last_contact_agent'
name: 'Last Contact Agent' name: 'Last Contact Agent Time'
}, },
{ {
value: 'last_contact_customer' value: 'last_contact_customer'
name: 'Last Contact Customer' name: 'Last Contact Customer Time'
}, },
{ {
value: 'first_response' value: 'first_response'
name: 'First Response' name: 'First Response Time'
}, },
{ {
value: 'close_time' value: 'close_time'
@ -576,7 +573,11 @@ class App.OverviewSettings extends App.ControllerModal
}, },
{ {
value: 'escalation_time' value: 'escalation_time'
name: 'Escalation' name: 'Escalation Time'
},
{
value: 'pending_time'
name: 'Pending Reminder Time'
}, },
{ {
value: 'article_count' value: 'article_count'