From 0b268a9ba9201c187c9f83bb21793bb9f2bc7e56 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 16 Nov 2011 19:53:01 -0200 Subject: Views update --- .../muamba_interface.views_default.inc | 51 +++++++++++++++++++++- 1 file changed, 49 insertions(+), 2 deletions(-) (limited to 'features/muamba_interface') diff --git a/features/muamba_interface/muamba_interface.views_default.inc b/features/muamba_interface/muamba_interface.views_default.inc index 7e43b2d..93eee7e 100644 --- a/features/muamba_interface/muamba_interface.views_default.inc +++ b/features/muamba_interface/muamba_interface.views_default.inc @@ -434,7 +434,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['status_2']['group'] = 1; /* Display: Disponíveis */ - $handler = $view->new_display('page', 'Disponíveis', 'page_1'); + $handler = $view->new_display('page', 'Disponíveis', 'disponiveis'); $handler->display->display_options['defaults']['title'] = FALSE; $handler->display->display_options['title'] = 'Muambas disponíveis'; $handler->display->display_options['display_description'] = 'Muambas disponíveis'; @@ -750,7 +750,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['path'] = 'disponiveis'; /* Display: Disponíveis (bloco) */ - $handler = $view->new_display('block', 'Disponíveis (bloco)', 'block_1'); + $handler = $view->new_display('block', 'Disponíveis (bloco)', 'disponiveis_bloco'); $handler->display->display_options['defaults']['title'] = FALSE; $handler->display->display_options['title'] = 'Muambas disponíveis'; $handler->display->display_options['display_description'] = 'Muambas disponíveis (bloco)'; @@ -3955,6 +3955,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['status']['id'] = 'status'; $handler->display->display_options['fields']['status']['table'] = 'muamba'; $handler->display->display_options['fields']['status']['field'] = 'status'; + $handler->display->display_options['fields']['status']['exclude'] = TRUE; $handler->display->display_options['fields']['status']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['status']['alter']['make_link'] = 0; $handler->display->display_options['fields']['status']['alter']['absolute'] = 0; @@ -3972,6 +3973,28 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['status']['hide_empty'] = 0; $handler->display->display_options['fields']['status']['empty_zero'] = 0; $handler->display->display_options['fields']['status']['hide_alter_empty'] = 0; + /* Campo: Muamba: Availability */ + $handler->display->display_options['fields']['available']['id'] = 'available'; + $handler->display->display_options['fields']['available']['table'] = 'muamba'; + $handler->display->display_options['fields']['available']['field'] = 'available'; + $handler->display->display_options['fields']['available']['label'] = 'Disponível?'; + $handler->display->display_options['fields']['available']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['available']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['available']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['available']['alter']['external'] = 0; + $handler->display->display_options['fields']['available']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['available']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['available']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['available']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['available']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['available']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['available']['alter']['trim'] = 0; + $handler->display->display_options['fields']['available']['alter']['html'] = 0; + $handler->display->display_options['fields']['available']['element_label_colon'] = 1; + $handler->display->display_options['fields']['available']['element_default_classes'] = 1; + $handler->display->display_options['fields']['available']['hide_empty'] = 0; + $handler->display->display_options['fields']['available']['empty_zero'] = 0; + $handler->display->display_options['fields']['available']['hide_alter_empty'] = 0; /* Campo: Muamba: Alterado */ $handler->display->display_options['fields']['changed']['id'] = 'changed'; $handler->display->display_options['fields']['changed']['table'] = 'muamba'; @@ -4234,6 +4257,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['status']['id'] = 'status'; $handler->display->display_options['fields']['status']['table'] = 'muamba'; $handler->display->display_options['fields']['status']['field'] = 'status'; + $handler->display->display_options['fields']['status']['exclude'] = TRUE; $handler->display->display_options['fields']['status']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['status']['alter']['make_link'] = 0; $handler->display->display_options['fields']['status']['alter']['absolute'] = 0; @@ -4251,6 +4275,28 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['status']['hide_empty'] = 0; $handler->display->display_options['fields']['status']['empty_zero'] = 0; $handler->display->display_options['fields']['status']['hide_alter_empty'] = 0; + /* Campo: Muamba: Availability */ + $handler->display->display_options['fields']['available']['id'] = 'available'; + $handler->display->display_options['fields']['available']['table'] = 'muamba'; + $handler->display->display_options['fields']['available']['field'] = 'available'; + $handler->display->display_options['fields']['available']['label'] = 'Disponível?'; + $handler->display->display_options['fields']['available']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['available']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['available']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['available']['alter']['external'] = 0; + $handler->display->display_options['fields']['available']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['available']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['available']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['available']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['available']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['available']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['available']['alter']['trim'] = 0; + $handler->display->display_options['fields']['available']['alter']['html'] = 0; + $handler->display->display_options['fields']['available']['element_label_colon'] = 1; + $handler->display->display_options['fields']['available']['element_default_classes'] = 1; + $handler->display->display_options['fields']['available']['hide_empty'] = 0; + $handler->display->display_options['fields']['available']['empty_zero'] = 0; + $handler->display->display_options['fields']['available']['hide_alter_empty'] = 0; /* Campo: Muamba: Alterado */ $handler->display->display_options['fields']['changed']['id'] = 'changed'; $handler->display->display_options['fields']['changed']['table'] = 'muamba'; @@ -4744,6 +4790,7 @@ function muamba_interface_views_default_views() { t('Quando'), t('Pedi (bloco)'), t('Muambas que pedi'), + t('Disponível?'), t('Última atualização'), t('Ações'), t('Me pediram (bloco)'), -- cgit v1.2.3