Issue #2907879: Add row counter to asset/log lists

This commit is contained in:
Michael Stenta 2018-04-16 13:48:41 -04:00
parent 1a3ca112f6
commit e1adae3dda
19 changed files with 152 additions and 0 deletions

View File

@ -69,6 +69,10 @@ function farm_asset_children_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -160,6 +164,7 @@ function farm_asset_children_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No children found.'),
t('Farm asset ID'),
t('.'),

View File

@ -101,6 +101,10 @@ function farm_asset_views_views_default_views() {
'empty_column' => 0,
),
);
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -334,6 +338,7 @@ function farm_asset_views_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No assets found.'),
t('Latest movement'),
t('Group membership'),
@ -410,6 +415,10 @@ function farm_asset_views_views_default_views() {
$handler->display->display_options['header']['area_text_custom']['table'] = 'views';
$handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
$handler->display->display_options['header']['area_text_custom']['content'] = 'Select the asset(s) you would like to reference and click "Submit". Use the filters to narrow down the list.';
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -605,6 +614,7 @@ function farm_asset_views_views_default_views() {
t('next '),
t('last »'),
t('Select the asset(s) you would like to reference and click "Submit". Use the filters to narrow down the list.'),
t('Displaying @start - @end of @total'),
t('No assets found.'),
t('Latest movement'),
t('Group membership'),

View File

@ -316,6 +316,10 @@ function farm_crop_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -711,6 +715,7 @@ function farm_crop_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No seedings found.'),
t('field collection item from field_farm_quantity'),
t('field collection item from field_farm_movement'),
@ -871,6 +876,10 @@ function farm_crop_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -1266,6 +1275,7 @@ function farm_crop_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No transplantings found.'),
t('field collection item from field_farm_quantity'),
t('field collection item from field_farm_movement'),
@ -1410,6 +1420,10 @@ function farm_crop_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -1743,6 +1757,7 @@ function farm_crop_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No plantings found.'),
t('Latest movement'),
t('Group membership'),

View File

@ -131,6 +131,10 @@ function farm_equipment_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -417,6 +421,7 @@ function farm_equipment_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No equipment found.'),
t('Latest movement'),
t('Group membership'),
@ -546,6 +551,10 @@ function farm_equipment_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -860,6 +869,7 @@ function farm_equipment_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No maintenance logs found.'),
t('Log'),
t('- Choose an operation -'),

View File

@ -66,6 +66,10 @@ function farm_group_views_default_views() {
$handler->display->display_options['header']['area_text_custom']['table'] = 'views';
$handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
$handler->display->display_options['header']['area_text_custom']['content'] = 'Select the group you would like to reference and click "Submit". Use the filters to narrow down the list.';
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -193,6 +197,7 @@ function farm_group_views_default_views() {
t('next '),
t('last »'),
t('Select the group you would like to reference and click "Submit". Use the filters to narrow down the list.'),
t('Displaying @start - @end of @total'),
t('No groups found.'),
t('Latest movement'),
t('Location'),
@ -321,6 +326,10 @@ function farm_group_views_default_views() {
$handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
$handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
$handler->display->display_options['header']['area_text_custom']['content'] = 'This lists all logs that assign assets as members of a group. Multiple log types are included in this list, and are specified in the "Log type" column.';
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -629,6 +638,7 @@ function farm_group_views_default_views() {
t('next '),
t('last »'),
t('This lists all logs that assign assets as members of a group. Multiple log types are included in this list, and are specified in the "Log type" column.'),
t('Displaying @start - @end of @total'),
t('No logs of group membership found.'),
t('field collection item from field_farm_membership'),
t('Log'),
@ -728,6 +738,10 @@ function farm_group_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -885,6 +899,7 @@ function farm_group_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No group members found.'),
t('Group membership'),
t('Farm asset'),
@ -999,6 +1014,10 @@ function farm_group_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -1262,6 +1281,7 @@ function farm_group_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No groups found.'),
t('Latest movement'),
t('Group membership'),

View File

@ -66,6 +66,10 @@ function farm_inventory_views_default_views() {
$handler->display->display_options['header']['area_text_custom']['table'] = 'views';
$handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
$handler->display->display_options['header']['area_text_custom']['content'] = 'Select the asset you would like to reference and click "Submit". Use the filters to narrow down the list.';
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -259,6 +263,7 @@ function farm_inventory_views_default_views() {
t('next '),
t('last »'),
t('Select the asset you would like to reference and click "Submit". Use the filters to narrow down the list.'),
t('Displaying @start - @end of @total'),
t('No assets found.'),
t('Latest movement'),
t('Group membership'),
@ -395,6 +400,10 @@ function farm_inventory_views_default_views() {
$handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
$handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
$handler->display->display_options['header']['area_text_custom']['content'] = 'This lists all logs that include asset inventory adjustments. If a log contains more than one inventory adjustment, it will be listed more than once in this list. Multiple log types are included in this list, and are specified in the "Log type" column.';
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -708,6 +717,7 @@ function farm_inventory_views_default_views() {
t('next '),
t('last »'),
t('This lists all logs that include asset inventory adjustments. If a log contains more than one inventory adjustment, it will be listed more than once in this list. Multiple log types are included in this list, and are specified in the "Log type" column.'),
t('Displaying @start - @end of @total'),
t('No logs of inventory adjustments found.'),
t('field_farm_inventory'),
t('Log'),

View File

@ -296,6 +296,10 @@ function farm_livestock_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -715,6 +719,7 @@ function farm_livestock_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No animals found.'),
t('Latest movement'),
t('Group membership'),
@ -870,6 +875,10 @@ function farm_livestock_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -1239,6 +1248,7 @@ function farm_livestock_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No birth logs found.'),
t('Farm asset entity referenced from field_farm_mother'),
t('Log'),
@ -1374,6 +1384,10 @@ function farm_livestock_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -1683,6 +1697,7 @@ function farm_livestock_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No medical logs found.'),
t('Log'),
t('- Choose an operation -'),

View File

@ -122,6 +122,10 @@ function farm_log_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -623,6 +627,7 @@ function farm_log_views_default_views() {
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['pager']['options']['items_per_page'] = '10';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['defaults']['footer'] = FALSE;
$handler->display->display_options['defaults']['empty'] = FALSE;
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
@ -870,6 +875,7 @@ function farm_log_views_default_views() {
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['pager']['options']['items_per_page'] = '10';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['defaults']['footer'] = FALSE;
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Bulk operations: Log */
$handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
@ -1043,6 +1049,7 @@ function farm_log_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No logs found.'),
t('Log'),
t('- Choose an operation -'),

View File

@ -121,6 +121,10 @@ function farm_log_activity_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -448,6 +452,7 @@ function farm_log_activity_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No activities found.'),
t('Log'),
t('- Choose an operation -'),

View File

@ -145,6 +145,10 @@ function farm_log_harvest_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -496,6 +500,7 @@ function farm_log_harvest_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No harvests found.'),
t('field collection item from field_farm_quantity'),
t('Log'),

View File

@ -137,6 +137,10 @@ function farm_log_input_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -488,6 +492,7 @@ function farm_log_input_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No inputs found.'),
t('field collection item from field_farm_quantity'),
t('Log'),

View File

@ -143,6 +143,10 @@ function farm_log_observation_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -505,6 +509,7 @@ function farm_log_observation_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No observations found.'),
t('field collection item from field_farm_quantity'),
t('Log'),

View File

@ -171,6 +171,10 @@ function farm_log_sale_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -512,6 +516,7 @@ function farm_log_sale_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No sales found.'),
t('Log'),
t('- Choose an operation -'),

View File

@ -91,6 +91,10 @@ function farm_movement_views_default_views() {
$handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
$handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
$handler->display->display_options['header']['area_text_custom']['content'] = '<small>This lists all assets that have ever been moved to this area. If an asset has been moved to this area more than once, it will show up more than once in this list.</small>';
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* Relationship: Log: Movement (field_farm_movement) */
$handler->display->display_options['relationships']['field_farm_movement_value']['id'] = 'field_farm_movement_value';
$handler->display->display_options['relationships']['field_farm_movement_value']['table'] = 'field_data_field_farm_movement';
@ -225,6 +229,7 @@ function farm_movement_views_default_views() {
t('next '),
t('last »'),
t('<small>This lists all assets that have ever been moved to this area. If an asset has been moved to this area more than once, it will show up more than once in this list.</small>'),
t('Displaying @start - @end of @total'),
t('field collection item from field_farm_movement'),
t('Asset'),
t('Farm asset ID'),
@ -496,6 +501,10 @@ function farm_movement_views_default_views() {
$handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
$handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
$handler->display->display_options['header']['area_text_custom']['content'] = 'This lists all logs that define movements of assets. Multiple log types are included in this list, and are specified in the "Log type" column.';
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -823,6 +832,7 @@ function farm_movement_views_default_views() {
t('next '),
t('last »'),
t('This lists all logs that define movements of assets. Multiple log types are included in this list, and are specified in the "Log type" column.'),
t('Displaying @start - @end of @total'),
t('No logs of movements found.'),
t('field collection item from field_farm_movement'),
t('Log'),

View File

@ -101,6 +101,10 @@ function farm_sensor_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -362,6 +366,7 @@ function farm_sensor_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No sensors found.'),
t('Latest movement'),
t('Group membership'),

View File

@ -53,6 +53,10 @@ function farm_sensor_listener_views_default_views() {
'empty_column' => 0,
),
);
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -143,6 +147,7 @@ function farm_sensor_listener_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No data found for this sensor.'),
t('Timestamp'),
t('Name'),

View File

@ -107,6 +107,10 @@ function farm_soil_compost_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -381,6 +385,7 @@ function farm_soil_compost_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No compost found.'),
t('Latest movement'),
t('Group membership'),

View File

@ -123,6 +123,10 @@ function farm_soil_test_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -436,6 +440,7 @@ function farm_soil_test_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No soil tests found.'),
t('Log'),
t('- Choose an operation -'),

View File

@ -123,6 +123,10 @@ function farm_water_test_views_default_views() {
),
);
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
$handler->display->display_options['footer']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
@ -435,6 +439,7 @@ function farm_water_test_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('Displaying @start - @end of @total'),
t('No water tests found.'),
t('Log'),
t('- Choose an operation -'),