diff options
Diffstat (limited to 'features/muamba_interface')
-rw-r--r-- | features/muamba_interface/muamba_interface.views_default.inc | 404 |
1 files changed, 370 insertions, 34 deletions
diff --git a/features/muamba_interface/muamba_interface.views_default.inc b/features/muamba_interface/muamba_interface.views_default.inc index 93eee7e..ef6a1d7 100644 --- a/features/muamba_interface/muamba_interface.views_default.inc +++ b/features/muamba_interface/muamba_interface.views_default.inc @@ -17,7 +17,7 @@ function muamba_interface_views_default_views() { $view->base_table = 'node'; $view->human_name = 'Muambas'; $view->core = 7; - $view->api_version = '3.0-alpha1'; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -301,9 +301,9 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['title']['empty_zero'] = 0; $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['title']['link_to_node'] = 1; - /* Campo: Conteúdo: Link "editar" */ + /* Campo: Node: Link "editar" */ $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node'; - $handler->display->display_options['fields']['edit_node']['table'] = 'node'; + $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node'; $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node'; $handler->display->display_options['fields']['edit_node']['label'] = 'Ações'; $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = 0; @@ -323,9 +323,9 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['edit_node']['hide_empty'] = 0; $handler->display->display_options['fields']['edit_node']['empty_zero'] = 0; $handler->display->display_options['fields']['edit_node']['hide_alter_empty'] = 0; - /* Campo: Conteúdo: Link "apagar" */ + /* Campo: Node: Link "apagar" */ $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node'; - $handler->display->display_options['fields']['delete_node']['table'] = 'node'; + $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node'; $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node'; $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['delete_node']['alter']['make_link'] = 0; @@ -1418,12 +1418,35 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['name']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['name']['link_to_user'] = 1; $handler->display->display_options['fields']['name']['overwrite_anonymous'] = 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'] = 'Status'; + $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'] = 1; /* Campo: Flags: Flag link */ $handler->display->display_options['fields']['ops']['id'] = 'ops'; $handler->display->display_options['fields']['ops']['table'] = 'flag_content'; $handler->display->display_options['fields']['ops']['field'] = 'ops'; $handler->display->display_options['fields']['ops']['relationship'] = 'flag_content_rel'; $handler->display->display_options['fields']['ops']['label'] = 'Favoritos'; + $handler->display->display_options['fields']['ops']['exclude'] = TRUE; $handler->display->display_options['fields']['ops']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['ops']['alter']['make_link'] = 0; $handler->display->display_options['fields']['ops']['alter']['absolute'] = 0; @@ -1515,6 +1538,8 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['status_2']['field'] = 'status'; $handler->display->display_options['filters']['status_2']['value'] = array( 1 => '1', + 4 => '4', + 6 => '6', ); $handler->display->display_options['filters']['status_2']['group'] = 0; /* Filter criterion: Usuário: Atual */ @@ -1727,6 +1752,28 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['name']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['name']['link_to_user'] = 1; $handler->display->display_options['fields']['name']['overwrite_anonymous'] = 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'] = 0; + $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: Flags: Flag link */ $handler->display->display_options['fields']['ops']['id'] = 'ops'; $handler->display->display_options['fields']['ops']['table'] = 'flag_content'; @@ -1751,28 +1798,6 @@ 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'] = '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'] = 0; - $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'; @@ -1823,6 +1848,10 @@ function muamba_interface_views_default_views() { $handler->display->display_options['defaults']['title'] = FALSE; $handler->display->display_options['title'] = 'Todas as muambas'; $handler->display->display_options['display_description'] = 'Todas as muambas (bloco)'; + $handler->display->display_options['defaults']['query'] = FALSE; + $handler->display->display_options['query']['type'] = 'views_query'; + $handler->display->display_options['query']['options']['distinct'] = TRUE; + $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'full'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; @@ -2140,6 +2169,7 @@ function muamba_interface_views_default_views() { t('Peguei emprestado (bloco)'), t('Muamba item owner'), t('Dono'), + t('Status'), t('Favoritas (bloco)'), t('Muambas favoritas (bloco)'), t('Todas (bloco)'), @@ -2155,7 +2185,7 @@ function muamba_interface_views_default_views() { $view->base_table = 'node'; $view->human_name = 'OG list'; $view->core = 0; - $view->api_version = '3.0-alpha1'; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Defaults */ @@ -2668,7 +2698,7 @@ function muamba_interface_views_default_views() { $view->base_table = 'users'; $view->human_name = 'OG members'; $view->core = 0; - $view->api_version = '3.0-alpha1'; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Defaults */ @@ -2843,7 +2873,7 @@ function muamba_interface_views_default_views() { $view->base_table = 'node'; $view->human_name = 'OG User groups'; $view->core = 7; - $view->api_version = '3.0-alpha1'; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -2909,7 +2939,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['title']['id'] = 'title'; $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; - $handler->display->display_options['fields']['title']['label'] = 'Group name'; + $handler->display->display_options['fields']['title']['label'] = 'Nome do grupo'; $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; @@ -3062,7 +3092,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['title']['id'] = 'title'; $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; - $handler->display->display_options['fields']['title']['label'] = 'Group name'; + $handler->display->display_options['fields']['title']['label'] = 'Nome do grupo'; $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; @@ -3135,7 +3165,7 @@ function muamba_interface_views_default_views() { t('User is not a member of any group.'), t('grupo'), t('OG membership'), - t('Group name'), + t('Nome do grupo'), t('Member since'), t('Foto'), t('Tudo'), @@ -3153,7 +3183,7 @@ function muamba_interface_views_default_views() { $view->base_table = 'muamba'; $view->human_name = 'Transações'; $view->core = 7; - $view->api_version = '3.0-alpha1'; + $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ @@ -4058,6 +4088,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['status']['operator'] = 'not in'; $handler->display->display_options['filters']['status']['value'] = array( 1 => '1', + 4 => '4', ); /* Display: Me pediram (bloco) */ @@ -4759,6 +4790,309 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['active']['field'] = 'active'; $handler->display->display_options['filters']['active']['value'] = '0'; $handler->display->display_options['filters']['active']['group'] = 1; + + /* Display: Devolvi (bloco) */ + $handler = $view->new_display('block', 'Devolvi (bloco)', 'block_4'); + $handler->display->display_options['defaults']['title'] = FALSE; + $handler->display->display_options['title'] = 'Muambas que devolvi'; + $handler->display->display_options['display_description'] = 'Muambas que devolvi'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['columns'] = array( + 'mid' => 'mid', + 'field_foto' => 'field_foto', + 'title_1' => 'field_foto', + 'picture' => 'picture', + 'name' => 'picture', + 'status' => 'status', + 'changed' => 'changed', + ); + $handler->display->display_options['style_options']['default'] = '-1'; + $handler->display->display_options['style_options']['info'] = array( + 'mid' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'field_foto' => array( + 'align' => '', + 'separator' => '<br />', + ), + 'title_1' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'picture' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'name' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'status' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'changed' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + ); + $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; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Muamba: Id */ + $handler->display->display_options['fields']['mid']['id'] = 'mid'; + $handler->display->display_options['fields']['mid']['table'] = 'muamba'; + $handler->display->display_options['fields']['mid']['field'] = 'mid'; + $handler->display->display_options['fields']['mid']['exclude'] = TRUE; + $handler->display->display_options['fields']['mid']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['mid']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['mid']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['mid']['alter']['external'] = 0; + $handler->display->display_options['fields']['mid']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['mid']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['mid']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['mid']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['mid']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['mid']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['mid']['alter']['trim'] = 0; + $handler->display->display_options['fields']['mid']['alter']['html'] = 0; + $handler->display->display_options['fields']['mid']['element_label_colon'] = 1; + $handler->display->display_options['fields']['mid']['element_default_classes'] = 1; + $handler->display->display_options['fields']['mid']['hide_empty'] = 0; + $handler->display->display_options['fields']['mid']['empty_zero'] = 0; + $handler->display->display_options['fields']['mid']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['mid']['format_plural'] = 0; + /* Campo: Conteúdo: Foto */ + $handler->display->display_options['fields']['field_foto']['id'] = 'field_foto'; + $handler->display->display_options['fields']['field_foto']['table'] = 'field_data_field_foto'; + $handler->display->display_options['fields']['field_foto']['field'] = 'field_foto'; + $handler->display->display_options['fields']['field_foto']['relationship'] = 'nid'; + $handler->display->display_options['fields']['field_foto']['label'] = 'Item'; + $handler->display->display_options['fields']['field_foto']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['external'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['field_foto']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['field_foto']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['trim'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['html'] = 0; + $handler->display->display_options['fields']['field_foto']['element_label_colon'] = 1; + $handler->display->display_options['fields']['field_foto']['element_default_classes'] = 1; + $handler->display->display_options['fields']['field_foto']['hide_empty'] = 0; + $handler->display->display_options['fields']['field_foto']['empty_zero'] = 0; + $handler->display->display_options['fields']['field_foto']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_foto']['click_sort_column'] = 'fid'; + $handler->display->display_options['fields']['field_foto']['settings'] = array( + 'image_style' => 'thumbnail', + 'image_link' => 'content', + ); + $handler->display->display_options['fields']['field_foto']['group_rows'] = 1; + $handler->display->display_options['fields']['field_foto']['delta_offset'] = '0'; + $handler->display->display_options['fields']['field_foto']['delta_reversed'] = 0; + $handler->display->display_options['fields']['field_foto']['field_api_classes'] = 0; + /* Campo: Conteúdo: Título */ + $handler->display->display_options['fields']['title_1']['id'] = 'title_1'; + $handler->display->display_options['fields']['title_1']['table'] = 'node'; + $handler->display->display_options['fields']['title_1']['field'] = 'title'; + $handler->display->display_options['fields']['title_1']['relationship'] = 'nid'; + $handler->display->display_options['fields']['title_1']['label'] = 'Item'; + $handler->display->display_options['fields']['title_1']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['external'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['title_1']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['title_1']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['trim'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['html'] = 0; + $handler->display->display_options['fields']['title_1']['element_label_colon'] = 1; + $handler->display->display_options['fields']['title_1']['element_default_classes'] = 1; + $handler->display->display_options['fields']['title_1']['hide_empty'] = 0; + $handler->display->display_options['fields']['title_1']['empty_zero'] = 0; + $handler->display->display_options['fields']['title_1']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['title_1']['link_to_node'] = 1; + /* Campo: Usuário: Foto */ + $handler->display->display_options['fields']['picture']['id'] = 'picture'; + $handler->display->display_options['fields']['picture']['table'] = 'users'; + $handler->display->display_options['fields']['picture']['field'] = 'picture'; + $handler->display->display_options['fields']['picture']['relationship'] = 'owner'; + $handler->display->display_options['fields']['picture']['label'] = 'Dono(a)'; + $handler->display->display_options['fields']['picture']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['picture']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['picture']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['picture']['alter']['external'] = 0; + $handler->display->display_options['fields']['picture']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['picture']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['picture']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['picture']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['picture']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['picture']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['picture']['alter']['trim'] = 0; + $handler->display->display_options['fields']['picture']['alter']['html'] = 0; + $handler->display->display_options['fields']['picture']['element_label_colon'] = 1; + $handler->display->display_options['fields']['picture']['element_default_classes'] = 1; + $handler->display->display_options['fields']['picture']['hide_empty'] = 0; + $handler->display->display_options['fields']['picture']['empty_zero'] = 0; + $handler->display->display_options['fields']['picture']['hide_alter_empty'] = 0; + /* Campo: Usuário: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'users'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'owner'; + $handler->display->display_options['fields']['name']['label'] = 'Dono(a)'; + $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['name']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['name']['alter']['external'] = 0; + $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['name']['alter']['trim'] = 0; + $handler->display->display_options['fields']['name']['alter']['html'] = 0; + $handler->display->display_options['fields']['name']['element_label_colon'] = 1; + $handler->display->display_options['fields']['name']['element_default_classes'] = 1; + $handler->display->display_options['fields']['name']['hide_empty'] = 0; + $handler->display->display_options['fields']['name']['empty_zero'] = 0; + $handler->display->display_options['fields']['name']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['name']['link_to_user'] = 1; + $handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0; + /* Campo: Muamba: Status */ + $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; + $handler->display->display_options['fields']['status']['alter']['external'] = 0; + $handler->display->display_options['fields']['status']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['status']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['status']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['status']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['status']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['status']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['status']['alter']['trim'] = 0; + $handler->display->display_options['fields']['status']['alter']['html'] = 0; + $handler->display->display_options['fields']['status']['element_label_colon'] = 1; + $handler->display->display_options['fields']['status']['element_default_classes'] = 1; + $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'; + $handler->display->display_options['fields']['changed']['field'] = 'changed'; + $handler->display->display_options['fields']['changed']['label'] = 'Última atualização'; + $handler->display->display_options['fields']['changed']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['changed']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['changed']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['changed']['alter']['external'] = 0; + $handler->display->display_options['fields']['changed']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['changed']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['changed']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['changed']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['changed']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['changed']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['changed']['alter']['trim'] = 0; + $handler->display->display_options['fields']['changed']['alter']['html'] = 0; + $handler->display->display_options['fields']['changed']['element_label_colon'] = 1; + $handler->display->display_options['fields']['changed']['element_default_classes'] = 1; + $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'; + /* 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: Usuário: Atual */ + $handler->display->display_options['filters']['uid_current']['id'] = 'uid_current'; + $handler->display->display_options['filters']['uid_current']['table'] = 'users'; + $handler->display->display_options['filters']['uid_current']['field'] = 'uid_current'; + $handler->display->display_options['filters']['uid_current']['relationship'] = 'uid'; + $handler->display->display_options['filters']['uid_current']['value'] = '1'; + /* Filter criterion: Muamba: Ativo */ + $handler->display->display_options['filters']['active']['id'] = 'active'; + $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']['value'] = array( + 4 => '4', + 5 => '5', + 6 => '6', + ); $translatables['transacoes'] = array( t('Master'), t('Transações'), @@ -4799,6 +5133,8 @@ function muamba_interface_views_default_views() { t('Transações passadas'), t('Histórico de transações'), t('Atualmente disponível?'), + t('Devolvi (bloco)'), + t('Muambas que devolvi'), ); $export['transacoes'] = $view; |