]>
Commit | Line | Data |
---|---|---|
3ffc5f4f MKG |
1 | use strict; |
2 | use warnings; | |
3 | ||
4 | our @Attributes = ( | |
01e3b242 MKG |
5 | { Name => 'Search - My Tickets', |
6 | Description => '[_1] highest priority tickets I own', | |
7 | Content => | |
8 | { Format => q{'<a href="__WebPath__/Ticket/Display.html?id=__id__">__id__</a>/TITLE:#', '<a href="__WebPath__/Ticket/Display.html?id=__id__">__Subject__</a>/TITLE:Subject', Priority, QueueName, ExtendedStatus}, | |
9 | Query => " Owner = '__CurrentUser__' AND ( Status = 'new' OR Status = 'open')", | |
10 | OrderBy => 'Priority', | |
11 | Order => 'DESC' }, | |
12 | }, | |
13 | { Name => 'Search - Unowned Tickets', | |
14 | Description => '[_1] newest unowned tickets', | |
15 | Content => | |
16 | { Format => "'<a href=\"__WebPath__/Ticket/Display.html?id=__id__\">__id__</a>/TITLE:#', '<a href=\"__WebPath__/Ticket/Display.html?id=__id__\">__Subject__</a>/TITLE:Subject', QueueName, ExtendedStatus, CreatedRelative, '<A HREF=\"__WebPath__/Ticket/Display.html?Action=Take&id=__id__\">__loc(Take)__</a>/TITLE: ' ", | |
17 | Query => " Owner = 'Nobody' AND ( Status = 'new' OR Status = 'open')", | |
18 | OrderBy => 'Created', | |
19 | Order => 'DESC' }, | |
20 | }, | |
21 | { Name => 'HomepageSettings', | |
22 | Description => 'HomepageSettings', | |
23 | Content => | |
24 | { 'body' => | |
3ffc5f4f MKG |
25 | [ { type => 'system', name => 'My Tickets' }, |
26 | { type => 'system', name => 'Unowned Tickets' }, | |
27 | { type => 'component', name => 'QuickCreate'}, | |
28 | ], | |
01e3b242 | 29 | 'summary' => |
3ffc5f4f MKG |
30 | [ |
31 | { type => 'component', name => 'MyReminders' }, | |
01e3b242 | 32 | { type => 'component', name => 'Quicksearch' }, |
3ffc5f4f MKG |
33 | { type => 'component', name => 'RefreshHomepage' }, |
34 | ] | |
01e3b242 MKG |
35 | }, |
36 | } | |
37 | ); | |
38 | ||
39 | 1; |