diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-10-31 19:29:58 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-10-31 19:29:58 -0200 |
commit | 4dc4d32e6cfda737ac30a485363edc5b59f71581 (patch) | |
tree | b9ec875b4237538d67270c80a6b74604bfe66846 /features/muamba_interface | |
parent | 67bc7654e7d24c807f6569db11d3a749ed8ab834 (diff) | |
download | muamba-4dc4d32e6cfda737ac30a485363edc5b59f71581.tar.gz muamba-4dc4d32e6cfda737ac30a485363edc5b59f71581.tar.bz2 |
Updating views
Diffstat (limited to 'features/muamba_interface')
-rw-r--r-- | features/muamba_interface/muamba_interface.views_default.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/features/muamba_interface/muamba_interface.views_default.inc b/features/muamba_interface/muamba_interface.views_default.inc index 7948989..1f6e927 100644 --- a/features/muamba_interface/muamba_interface.views_default.inc +++ b/features/muamba_interface/muamba_interface.views_default.inc @@ -46,6 +46,15 @@ function muamba_interface_views_default_views() { $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['row_options']['hide_empty'] = 0; $handler->display->display_options['row_options']['default_field_elements'] = 1; + /* Comportamento quando sem resultados: Global: Área de texto */ + $handler->display->display_options['empty']['area']['id'] = 'area'; + $handler->display->display_options['empty']['area']['table'] = 'views'; + $handler->display->display_options['empty']['area']['field'] = 'area'; + $handler->display->display_options['empty']['area']['label'] = 'Não há resultados'; + $handler->display->display_options['empty']['area']['empty'] = FALSE; + $handler->display->display_options['empty']['area']['content'] = 'Nenhum resultado encontrado'; + $handler->display->display_options['empty']['area']['format'] = 'filtered_html'; + $handler->display->display_options['empty']['area']['tokenize'] = 0; /* Relação: Conteúdo: Autor */ $handler->display->display_options['relationships']['uid']['id'] = 'uid'; $handler->display->display_options['relationships']['uid']['table'] = 'node'; @@ -1450,6 +1459,8 @@ function muamba_interface_views_default_views() { t('Itens por página'), t('- Todos -'), t('Deslocamento'), + t('Não há resultados'), + t('Nenhum resultado encontrado'), t('autor'), t('Muamba node'), t('Minhas'), @@ -2584,6 +2595,15 @@ function muamba_interface_views_default_views() { $handler->display->display_options['style_options']['override'] = 1; $handler->display->display_options['style_options']['sticky'] = 0; $handler->display->display_options['style_options']['empty_table'] = 0; + /* Comportamento quando sem resultados: Global: Área de texto */ + $handler->display->display_options['empty']['area']['id'] = 'area'; + $handler->display->display_options['empty']['area']['table'] = 'views'; + $handler->display->display_options['empty']['area']['field'] = 'area'; + $handler->display->display_options['empty']['area']['label'] = 'Não há resultados'; + $handler->display->display_options['empty']['area']['empty'] = FALSE; + $handler->display->display_options['empty']['area']['content'] = 'Nenhum resultado encontrado.'; + $handler->display->display_options['empty']['area']['format'] = 'filtered_html'; + $handler->display->display_options['empty']['area']['tokenize'] = 0; /* Relação: Muamba: Muamba asset owner */ $handler->display->display_options['relationships']['owner']['id'] = 'owner'; $handler->display->display_options['relationships']['owner']['table'] = 'muamba'; @@ -3302,6 +3322,14 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['active']['table'] = 'muamba'; $handler->display->display_options['filters']['active']['field'] = 'active'; $handler->display->display_options['filters']['active']['value'] = '1'; + /* Filter criterion: Muamba: Status */ + $handler->display->display_options['filters']['status']['id'] = 'status'; + $handler->display->display_options['filters']['status']['table'] = 'muamba'; + $handler->display->display_options['filters']['status']['field'] = 'status'; + $handler->display->display_options['filters']['status']['operator'] = 'not in'; + $handler->display->display_options['filters']['status']['value'] = array( + 1 => '1', + ); /* Display: Me pediram (bloco) */ $handler = $view->new_display('block', 'Me pediram (bloco)', 'block_2'); @@ -3894,6 +3922,8 @@ function muamba_interface_views_default_views() { t('Itens por página'), t('- Todos -'), t('Deslocamento'), + t('Não há resultados'), + t('Nenhum resultado encontrado.'), t('Muamba item owner'), t('Muamba node'), t('Muamba requester'), |