]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/od_metadata_files/custom/modules/Project/metadata/detailviewdefs.php
Added unit tests.
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / od_metadata_files / custom / modules / Project / metadata / detailviewdefs.php
1 <?php
2 // created: 2010-04-24 18:20:47
3 $viewdefs['Project']['DetailView'] = array (
4   'templateMeta' => 
5   array (
6     'maxColumns' => '2',
7     'widths' => 
8     array (
9       0 => 
10       array (
11         'label' => '10',
12         'field' => '30',
13       ),
14       1 => 
15       array (
16         'label' => '10',
17         'field' => '30',
18       ),
19     ),
20     'includes' => 
21     array (
22       0 => 
23       array (
24         'file' => 'modules/Project/Project.js',
25       ),
26     ),
27     'form' => 
28     array (
29       'buttons' => 
30       array (
31         0 => 
32         array (
33           'customCode' => '<input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="button" type="submit" name="Edit" id="edit_button" value="{$APP.LBL_EDIT_BUTTON_LABEL}"{if $IS_TEMPLATE}onclick="this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesDetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'ProjectTemplatesEditView\';"{else}onclick="this.form.return_module.value=\'Project\'; this.form.return_action.value=\'DetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'EditView\';" {/if}"/>',
34         ),
35         1 => 
36         array (
37           'customCode' => '<input title="{$APP.LBL_DELETE_BUTTON_TITLE}" accessKey="{$APP.LBL_DELETE_BUTTON_KEY}" class="button" type="submit" name="Delete" id="delete_button" value="{$APP.LBL_DELETE_BUTTON_LABEL}"{if $IS_TEMPLATE}onclick="this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesListView\'; this.form.action.value=\'Delete\'; return confirm(\'{$APP.NTC_DELETE_CONFIRMATION}\');"{else}onclick="this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ListView\'; this.form.action.value=\'Delete\'; return confirm(\'{$APP.NTC_DELETE_CONFIRMATION}\');" {/if}"/>',
38         ),
39         2 => 
40         array (
41           'customCode' => '{if $EDIT_RIGHTS_ONLY}<input title="{$MOD.LBL_VIEW_GANTT_TITLE}" accessKey="{$APP.LBL_DELETE_BUTTON_KEY}" class="button" type="submit" name="EditProjectTasks" value="  {$MOD.LBL_VIEW_GANTT_TITLE}  " onclick="prep_edit_project_tasks(this.form);" />{/if}',
42         ),
43         3 => 
44         array (
45           'customCode' => '<input title="{$SAVE_AS}" accessKey="{$APP.LBL_DELETE_BUTTON_KEY}" class="button" type="submit" name="SaveAsTemplate" value="{$SAVE_AS}"{if $IS_TEMPLATE}onclick="prep_save_as_project(this.form)"{else}onclick="prep_save_as_template(this.form) {/if}"/>',
46         ),
47         4 => 
48         array (
49           'customCode' => '<input title="{$MOD.LBL_EXPORT_TO_MS_PROJECT}" class="button" type="submit" name="ExportToProject" value="  {$MOD.LBL_EXPORT_TO_MS_PROJECT}  " onclick="prep_export_to_project(this.form);"/>',
50         ),
51       ),
52     ),
53   ),
54   'panels' => 
55   array (
56     'lbl_panel_1' => 
57     array (
58       0 => 
59       array (
60         0 => 
61         array (
62           'name' => 'name',
63           'label' => 'LBL_NAME',
64         ),
65         1 => 
66         array (
67           'name' => 'status',
68           'label' => 'LBL_STATUS',
69         ),
70       ),
71       1 => 
72       array (
73         0 => 
74         array (
75           'name' => 'estimated_start_date',
76           'label' => 'LBL_DATE_START',
77         ),
78         1 => 
79         array (
80           'name' => 'estimated_end_date',
81           'label' => 'LBL_DATE_END',
82         ),
83       ),
84       2 => 
85       array (
86         0 => 
87         array (
88           'name' => 'assigned_user_name',
89           'label' => 'LBL_ASSIGNED_USER_ID',
90         ),
91         1 => 
92         array (
93           'name' => 'team_name',
94         ),
95       ),
96       3 => 
97       array (
98         0 => 
99         array (
100           'name' => 'priority',
101           'label' => 'LBL_PRIORITY',
102         ),
103       ),
104       4 => 
105       array (
106         0 => 
107         array (
108           'name' => 'description',
109           'label' => 'LBL_DESCRIPTION',
110         ),
111         1 => NULL,
112       ),
113       5 => 
114       array (
115         0 => 
116         array (
117           'name' => 'kiosk_kiosk_project_name',
118         ),
119       ),
120     ),
121   ),
122 );
123 ?>