Display "Add Harvest" link even if the View is empty.
This commit is contained in:
parent
d465977c12
commit
4c44b001e7
|
@ -748,6 +748,7 @@ function farm_log_crops_views_default_views() {
|
|||
$handler->display->display_options['footer']['area_text_custom']['id'] = 'area_text_custom';
|
||||
$handler->display->display_options['footer']['area_text_custom']['table'] = 'views';
|
||||
$handler->display->display_options['footer']['area_text_custom']['field'] = 'area_text_custom';
|
||||
$handler->display->display_options['footer']['area_text_custom']['empty'] = TRUE;
|
||||
$handler->display->display_options['footer']['area_text_custom']['content'] = '<a href="/log/add/farm_harvest?destination=admin/farm/logs/harvests">+ Log a harvest</a>';
|
||||
/* No results behavior: Global: Unfiltered text */
|
||||
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
|
||||
|
|
Loading…
Reference in New Issue