diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-11-09 13:51:11 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-11-09 13:51:11 -0200 |
commit | 79a1634a5b5a2b14d0d487a8d5d4a9d305aba6ce (patch) | |
tree | 42d8bac46924b78a6e5347b5d3c5176ed89d5d0e /features | |
parent | 024bd20549c58317e8565e7772eec5630295d33c (diff) | |
download | muamba-79a1634a5b5a2b14d0d487a8d5d4a9d305aba6ce.tar.gz muamba-79a1634a5b5a2b14d0d487a8d5d4a9d305aba6ce.tar.bz2 |
Views update
Diffstat (limited to 'features')
-rw-r--r-- | features/muamba_interface/muamba_interface.views_default.inc | 152 |
1 files changed, 145 insertions, 7 deletions
diff --git a/features/muamba_interface/muamba_interface.views_default.inc b/features/muamba_interface/muamba_interface.views_default.inc index de75348..1d97c13 100644 --- a/features/muamba_interface/muamba_interface.views_default.inc +++ b/features/muamba_interface/muamba_interface.views_default.inc @@ -344,6 +344,52 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['delete_node']['hide_empty'] = 0; $handler->display->display_options['fields']['delete_node']['empty_zero'] = 0; $handler->display->display_options['fields']['delete_node']['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: Total */ + $handler->display->display_options['fields']['total_1']['id'] = 'total_1'; + $handler->display->display_options['fields']['total_1']['table'] = 'muamba'; + $handler->display->display_options['fields']['total_1']['field'] = 'total'; + $handler->display->display_options['fields']['total_1']['label'] = 'Emprestei'; + $handler->display->display_options['fields']['total_1']['alter']['alter_text'] = 1; + $handler->display->display_options['fields']['total_1']['alter']['text'] = '[total_1] vez(es)'; + $handler->display->display_options['fields']['total_1']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['total_1']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['total_1']['alter']['external'] = 0; + $handler->display->display_options['fields']['total_1']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['total_1']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['total_1']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['total_1']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['total_1']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['total_1']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['total_1']['alter']['trim'] = 0; + $handler->display->display_options['fields']['total_1']['alter']['html'] = 0; + $handler->display->display_options['fields']['total_1']['element_label_colon'] = 1; + $handler->display->display_options['fields']['total_1']['element_default_classes'] = 1; + $handler->display->display_options['fields']['total_1']['hide_empty'] = 0; + $handler->display->display_options['fields']['total_1']['empty_zero'] = 0; + $handler->display->display_options['fields']['total_1']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['total_1']['value'] = 'borrowed'; $handler->display->display_options['filter_groups']['groups'] = array( 0 => 'AND', 1 => 'OR', @@ -459,6 +505,11 @@ function muamba_interface_views_default_views() { $handler->display->display_options['relationships']['flag_content_rel']['field'] = 'flag_content_rel'; $handler->display->display_options['relationships']['flag_content_rel']['required'] = 0; $handler->display->display_options['relationships']['flag_content_rel']['flag'] = 'bookmarks'; + /* Relação: Muamba: Muamba requester user */ + $handler->display->display_options['relationships']['uid_1']['id'] = 'uid_1'; + $handler->display->display_options['relationships']['uid_1']['table'] = 'muamba'; + $handler->display->display_options['relationships']['uid_1']['field'] = 'uid'; + $handler->display->display_options['relationships']['uid_1']['required'] = 0; $handler->display->display_options['defaults']['fields'] = FALSE; /* Campo: Conteúdo: Nid */ $handler->display->display_options['fields']['nid']['id'] = 'nid'; @@ -609,6 +660,49 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['ops']['empty_zero'] = 0; $handler->display->display_options['fields']['ops']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['ops']['link_type'] = 'toggle'; + /* 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'] = 'Disponibilidade'; + $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: Ações */ + $handler->display->display_options['fields']['actions']['id'] = 'actions'; + $handler->display->display_options['fields']['actions']['table'] = 'muamba'; + $handler->display->display_options['fields']['actions']['field'] = 'actions'; + $handler->display->display_options['fields']['actions']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['actions']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['actions']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['actions']['alter']['external'] = 0; + $handler->display->display_options['fields']['actions']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['actions']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['actions']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['actions']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['actions']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['actions']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['actions']['alter']['trim'] = 0; + $handler->display->display_options['fields']['actions']['alter']['html'] = 0; + $handler->display->display_options['fields']['actions']['element_label_colon'] = 1; + $handler->display->display_options['fields']['actions']['element_default_classes'] = 1; + $handler->display->display_options['fields']['actions']['hide_empty'] = 0; + $handler->display->display_options['fields']['actions']['empty_zero'] = 0; + $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; $handler->display->display_options['filter_groups']['groups'] = array( 0 => 'AND', 1 => 'OR', @@ -1089,7 +1183,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['changed']['hide_empty'] = 0; $handler->display->display_options['fields']['changed']['empty_zero'] = 0; $handler->display->display_options['fields']['changed']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['changed']['date_format'] = 'privatemsg_current_day'; + $handler->display->display_options['fields']['changed']['date_format'] = 'raw time ago'; /* Campo: Muamba: Ações */ $handler->display->display_options['fields']['actions']['id'] = 'actions'; $handler->display->display_options['fields']['actions']['table'] = 'muamba'; @@ -1367,7 +1461,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['changed']['hide_empty'] = 0; $handler->display->display_options['fields']['changed']['empty_zero'] = 0; $handler->display->display_options['fields']['changed']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['changed']['date_format'] = 'privatemsg_current_day'; + $handler->display->display_options['fields']['changed']['date_format'] = 'raw time ago'; /* Campo: Muamba: Ações */ $handler->display->display_options['fields']['actions']['id'] = 'actions'; $handler->display->display_options['fields']['actions']['table'] = 'muamba'; @@ -1670,6 +1764,27 @@ function muamba_interface_views_default_views() { $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: Ações */ + $handler->display->display_options['fields']['actions']['id'] = 'actions'; + $handler->display->display_options['fields']['actions']['table'] = 'muamba'; + $handler->display->display_options['fields']['actions']['field'] = 'actions'; + $handler->display->display_options['fields']['actions']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['actions']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['actions']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['actions']['alter']['external'] = 0; + $handler->display->display_options['fields']['actions']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['actions']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['actions']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['actions']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['actions']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['actions']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['actions']['alter']['trim'] = 0; + $handler->display->display_options['fields']['actions']['alter']['html'] = 0; + $handler->display->display_options['fields']['actions']['element_label_colon'] = 1; + $handler->display->display_options['fields']['actions']['element_default_classes'] = 1; + $handler->display->display_options['fields']['actions']['hide_empty'] = 0; + $handler->display->display_options['fields']['actions']['empty_zero'] = 0; + $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; $handler->display->display_options['defaults']['filters'] = FALSE; /* Filter criterion: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; @@ -1910,6 +2025,27 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['ops']['empty_zero'] = 0; $handler->display->display_options['fields']['ops']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['ops']['link_type'] = 'toggle'; + /* Campo: Muamba: Ações */ + $handler->display->display_options['fields']['actions']['id'] = 'actions'; + $handler->display->display_options['fields']['actions']['table'] = 'muamba'; + $handler->display->display_options['fields']['actions']['field'] = 'actions'; + $handler->display->display_options['fields']['actions']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['actions']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['actions']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['actions']['alter']['external'] = 0; + $handler->display->display_options['fields']['actions']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['actions']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['actions']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['actions']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['actions']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['actions']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['actions']['alter']['trim'] = 0; + $handler->display->display_options['fields']['actions']['alter']['html'] = 0; + $handler->display->display_options['fields']['actions']['element_label_colon'] = 1; + $handler->display->display_options['fields']['actions']['element_default_classes'] = 1; + $handler->display->display_options['fields']['actions']['hide_empty'] = 0; + $handler->display->display_options['fields']['actions']['empty_zero'] = 0; + $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; $handler->display->display_options['filter_groups']['groups'] = array( 0 => 'AND', 1 => 'OR', @@ -1971,19 +2107,22 @@ function muamba_interface_views_default_views() { t('Minhas muambas (bloco)'), t('Ações'), t('Link "apagar"'), + t('Disponível?'), + t('Emprestei'), + t('[total_1] vez(es)'), t('Disponíveis'), t('Muambas disponíveis'), t('flag'), + t('Muamba requester'), t('Nid'), t('Dono(a)'), t('Favoritos'), + t('Disponibilidade'), t('Disponíveis (bloco)'), t('Muambas disponíveis (bloco)'), t('<a href="/request/[nid]">requisitar</a>'), t('Emprestei (bloco)'), - t('Emprestei'), t('Muambas que emprestei (bloco)'), - t('Muamba requester'), t('Emprestado para'), t('Empresado para'), t('Última atualização'), @@ -1994,7 +2133,6 @@ function muamba_interface_views_default_views() { t('Dono'), t('Favoritas (bloco)'), t('Muambas favoritas (bloco)'), - t('Disponível?'), t('Todas (bloco)'), t('Todas as muambas'), t('Todas as muambas (bloco)'), @@ -4451,7 +4589,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['created']['hide_empty'] = 0; $handler->display->display_options['fields']['created']['empty_zero'] = 0; $handler->display->display_options['fields']['created']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['created']['date_format'] = 'raw time ago'; + $handler->display->display_options['fields']['created']['date_format'] = 'short'; /* Campo: Muamba: Status */ $handler->display->display_options['fields']['status']['id'] = 'status'; $handler->display->display_options['fields']['status']['table'] = 'muamba'; @@ -4495,7 +4633,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['changed']['hide_empty'] = 0; $handler->display->display_options['fields']['changed']['empty_zero'] = 0; $handler->display->display_options['fields']['changed']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['changed']['date_format'] = 'raw time ago'; + $handler->display->display_options['fields']['changed']['date_format'] = 'short'; /* Campo: Muamba: Availability */ $handler->display->display_options['fields']['available']['id'] = 'available'; $handler->display->display_options['fields']['available']['table'] = 'muamba'; |