Added article count support in overviews.

This commit is contained in:
Martin Edenhofer 2013-01-03 21:46:52 +01:00
parent 2fcfba1bb6
commit 893fc79dee
4 changed files with 7 additions and 0 deletions

View file

@ -80,6 +80,7 @@ class App.Controller extends Spine.Controller
{ name: 'last_contact_customer', callback: @frontendTime },
{ name: 'first_response', callback: @frontendTime },
{ name: 'close_time', callback: @frontendTime },
{ name: 'article_count', title: 'group'},
]
shown_all_attributes = []
for all_attribute in all_attributes

View file

@ -191,6 +191,7 @@ class Settings extends App.ControllerModal
last_contact_customer: 'Last Contact Customer',
first_response: 'First Response',
close_time: 'Close Time',
article_count: 'Article Count'
},
class: 'medium',
# item_class: 'pull-left',
@ -215,6 +216,7 @@ class Settings extends App.ControllerModal
last_contact_customer: 'Last Contact Customer',
first_response: 'First Response',
close_time: 'Close Time',
article_count: 'Article Count'
},
class: 'medium',
},

View file

@ -388,6 +388,7 @@ class Settings extends App.ControllerModal
last_contact_customer: 'Last Contact Customer'
first_response: 'First Response'
close_time: 'Close Time'
article_count: 'Article Count'
class: 'medium'
},
{
@ -410,6 +411,7 @@ class Settings extends App.ControllerModal
last_contact_customer: 'Last Contact Customer'
first_response: 'First Response'
close_time: 'Close Time'
article_count: 'Article Count'
class: 'medium'
},
{

View file

@ -16,4 +16,6 @@ class App.Ticket extends App.Model
{ name: 'last_contact_customer', display: 'Last contact (Customer)', tag: 'time', null: true, style: 'width: 12%' },
{ name: 'first_response', display: 'First response', tag: 'time', null: true, style: 'width: 12%' },
{ name: 'close_time', display: 'Close time', tag: 'time', null: true, style: 'width: 12%' },
{ name: 'article_count', display: 'Article#', style: 'width: 12%' },
]