Index: trunk/extensions/DataCenter/Views/Assets.php |
— | — | @@ -20,7 +20,6 @@ |
21 | 21 | 'manufacturer', |
22 | 22 | 'model' => array( 'field' => 'name' ), |
23 | 23 | 'units', |
24 | | - 'note', |
25 | 24 | ), |
26 | 25 | ), |
27 | 26 | ), |
— | — | @@ -35,7 +34,6 @@ |
36 | 35 | 'units', |
37 | 36 | 'depth', |
38 | 37 | 'power', |
39 | | - 'note', |
40 | 38 | ), |
41 | 39 | ), |
42 | 40 | ), |
— | — | @@ -329,7 +327,10 @@ |
330 | 328 | ), |
331 | 329 | 'row' => $asset, |
332 | 330 | 'fields' => array( |
333 | | - 'tense' => array( 'type' => 'tense' ), |
| 331 | + 'tense' => array( |
| 332 | + 'type' => 'tense', |
| 333 | + 'disable' => !$path['id'] ? array( 'past' ) : array(), |
| 334 | + ), |
334 | 335 | 'location' => array( |
335 | 336 | 'type' => 'list', |
336 | 337 | 'rows' => $locations, |