Commit fb34d98c authored by crawleyhost's avatar crawleyhost Committed by drumm
Browse files

Issue #3284545 by crawleyhost, drumm, Kristen Pol: Change "See all" to "All...

Issue #3284545 by crawleyhost, drumm, Kristen Pol: Change "See all" to "All upcoming events" and add "All past events"
parent 240aa61f
......@@ -262,7 +262,6 @@ function drupalorg_community_events_views_default_views() {
$handler->display->display_options['sorts']['field_date_of_event_value']['id'] = 'field_date_of_event_value';
$handler->display->display_options['sorts']['field_date_of_event_value']['table'] = 'field_data_field_date_of_event';
$handler->display->display_options['sorts']['field_date_of_event_value']['field'] = 'field_date_of_event_value';
$handler->display->display_options['defaults']['arguments'] = FALSE;
$handler->display->display_options['defaults']['filter_groups'] = FALSE;
$handler->display->display_options['filter_groups']['groups'] = array(
1 => 'AND',
......@@ -949,6 +948,7 @@ function drupalorg_community_events_views_default_views() {
$handler->display->display_options['filters']['field_event_status_value']['field'] = 'field_event_status_value';
$handler->display->display_options['filters']['field_event_status_value']['value'] = array(
'confirmed' => 'confirmed',
'completed' => 'completed',
);
$handler->display->display_options['filters']['field_event_status_value']['group'] = 1;
/* Filter criterion: Content: Event date(s) - end date (field_date_of_event:value2) */
......@@ -1501,7 +1501,7 @@ function drupalorg_community_events_views_default_views() {
$handler->display->display_options['footer']['area']['id'] = 'area';
$handler->display->display_options['footer']['area']['table'] = 'views';
$handler->display->display_options['footer']['area']['field'] = 'area';
$handler->display->display_options['footer']['area']['content'] = '<p align="right"><a class="action-button" href="/community/events/upcoming-events?field_event_format_value%5B%5D=online&field_event_format_value%5B%5D=in_person&field_event_type_value%5B%5D=drupalcamp">See all</a></p>';
$handler->display->display_options['footer']['area']['content'] = '<p align="right"><a class="action-button" href="/community/events/upcoming-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=drupalcamp&field_event_type_value[]=localmeetup&field_event_type_value[]=drupalinitiativemeeting&field_event_type_value[]=drupalcon&field_event_type_value[]=drupalfest&field_event_type_value[]=training&field_event_type_value[]=contribution">See more events</a></p>';
$handler->display->display_options['footer']['area']['format'] = '1';
$handler->display->display_options['defaults']['empty'] = FALSE;
/* No results behavior: Global: Text area */
......@@ -1710,7 +1710,7 @@ function drupalorg_community_events_views_default_views() {
$handler->display->display_options['footer']['area']['id'] = 'area';
$handler->display->display_options['footer']['area']['table'] = 'views';
$handler->display->display_options['footer']['area']['field'] = 'area';
$handler->display->display_options['footer']['area']['content'] = '<p align="right"><a class="action-button" href="/community/events/upcoming-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=training">See all</a></p>';
$handler->display->display_options['footer']['area']['content'] = '<p align="right"><a class="action-button" href="/community/events/upcoming-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=training">See more trainings</a></p>';
$handler->display->display_options['footer']['area']['format'] = '1';
$handler->display->display_options['defaults']['empty'] = FALSE;
/* No results behavior: Global: Text area */
......@@ -1881,7 +1881,7 @@ function drupalorg_community_events_views_default_views() {
$handler->display->display_options['footer']['area']['id'] = 'area';
$handler->display->display_options['footer']['area']['table'] = 'views';
$handler->display->display_options['footer']['area']['field'] = 'area';
$handler->display->display_options['footer']['area']['content'] = '<p align="right"><a class="action-button" href="/community/events/call-for-content">See all</a></p>';
$handler->display->display_options['footer']['area']['content'] = '<p align="right"><a class="action-button" href="/community/events/call-for-content">See more content calls</a></p>';
$handler->display->display_options['footer']['area']['format'] = '1';
$handler->display->display_options['defaults']['empty'] = FALSE;
/* No results behavior: Global: Text area */
......@@ -2510,7 +2510,7 @@ function drupalorg_community_events_views_default_views() {
$handler->display->display_options['footer']['area']['id'] = 'area';
$handler->display->display_options['footer']['area']['table'] = 'views';
$handler->display->display_options['footer']['area']['field'] = 'area';
$handler->display->display_options['footer']['area']['content'] = '<p align="right"><a class="action-button" href="/community/events/upcoming-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=localmeetup">See all</a></p> ';
$handler->display->display_options['footer']['area']['content'] = '<p align="right"><a class="action-button" href="/community/events/upcoming-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=localmeetup">See more meetups</a></p> ';
$handler->display->display_options['footer']['area']['format'] = '1';
$handler->display->display_options['defaults']['empty'] = FALSE;
/* No results behavior: Global: Text area */
......@@ -2633,6 +2633,15 @@ function drupalorg_community_events_views_default_views() {
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['defaults']['css_class'] = FALSE;
$handler->display->display_options['css_class'] = 'events-list';
$handler->display->display_options['defaults']['exposed_form'] = FALSE;
$handler->display->display_options['exposed_form']['type'] = 'better_exposed_filters';
$handler->display->display_options['defaults']['footer'] = FALSE;
/* Footer: Global: Text area */
$handler->display->display_options['footer']['area']['id'] = 'area';
$handler->display->display_options['footer']['area']['table'] = 'views';
$handler->display->display_options['footer']['area']['field'] = 'area';
$handler->display->display_options['footer']['area']['content'] = '<p align="right"><a class="action-button" href="/community/events/past-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=drupalcamp&field_event_type_value[]=localmeetup&field_event_type_value[]=drupalinitiativemeeting&field_event_type_value[]=drupalcon&field_event_type_value[]=drupalfest&field_event_type_value[]=training&field_event_type_value[]=contribution">See more past events</a></p>';
$handler->display->display_options['footer']['area']['format'] = '1';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Content: Title */
$handler->display->display_options['fields']['title']['id'] = 'title';
......@@ -2726,6 +2735,36 @@ function drupalorg_community_events_views_default_views() {
'field_data_field_date_of_event.field_date_of_event_value2' => 'field_data_field_date_of_event.field_date_of_event_value2',
);
$handler->display->display_options['filters']['date_filter']['date_method'] = 'AND';
/* Filter criterion: Content: Event type (field_event_type) */
$handler->display->display_options['filters']['field_event_type_value']['id'] = 'field_event_type_value';
$handler->display->display_options['filters']['field_event_type_value']['table'] = 'field_data_field_event_type';
$handler->display->display_options['filters']['field_event_type_value']['field'] = 'field_event_type_value';
$handler->display->display_options['filters']['field_event_type_value']['exposed'] = TRUE;
$handler->display->display_options['filters']['field_event_type_value']['expose']['operator_id'] = 'field_event_type_value_op';
$handler->display->display_options['filters']['field_event_type_value']['expose']['label'] = 'Event type';
$handler->display->display_options['filters']['field_event_type_value']['expose']['operator'] = 'field_event_type_value_op';
$handler->display->display_options['filters']['field_event_type_value']['expose']['identifier'] = 'field_event_type_value';
$handler->display->display_options['filters']['field_event_type_value']['expose']['multiple'] = TRUE;
$handler->display->display_options['filters']['field_event_type_value']['expose']['remember_roles'] = array(
2 => '2',
3 => 0,
1 => 0,
39 => 0,
36 => 0,
7 => 0,
34 => 0,
32 => 0,
22 => 0,
20 => 0,
24 => 0,
41 => 0,
28 => 0,
26 => 0,
14 => 0,
38 => 0,
4 => 0,
42 => 0,
);
$handler->display->display_options['pane_category']['weight'] = '0';
/* Display: Contribution Events */
......@@ -2972,17 +3011,17 @@ function drupalorg_community_events_views_default_views() {
t('2-Upcoming events'),
t('Upcoming Drupal Camps'),
t('See all'),
t('<p align="right"><a class="action-button" href="/community/events/upcoming-events?field_event_format_value%5B%5D=online&field_event_format_value%5B%5D=in_person&field_event_type_value%5B%5D=drupalcamp">See all</a></p>'),
t('<p align="right"><a class="action-button" href="/community/events/upcoming-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=drupalcamp&field_event_type_value[]=localmeetup&field_event_type_value[]=drupalinitiativemeeting&field_event_type_value[]=drupalcon&field_event_type_value[]=drupalfest&field_event_type_value[]=training&field_event_type_value[]=contribution">See more events</a></p>'),
t('None at this time.'),
t('format classes'),
t('[title]'),
t('Event date(s) for filtering'),
t('3-Upcoming training'),
t('Upcoming training'),
t('<p align="right"><a class="action-button" href="/community/events/upcoming-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=training">See all</a></p>'),
t('<p align="right"><a class="action-button" href="/community/events/upcoming-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=training">See more trainings</a></p>'),
t('5-Call for content'),
t('Calls for content'),
t('<p align="right"><a class="action-button" href="/community/events/call-for-content">See all</a></p>'),
t('<p align="right"><a class="action-button" href="/community/events/call-for-content">See more content calls</a></p>'),
t('CFP'),
t('Confirmed event map'),
t('There are currently no events scheduled that have submitted location data. To have your event included on the event map make sure to include as much of an address as makes sense for your event.'),
......@@ -2997,8 +3036,9 @@ function drupalorg_community_events_views_default_views() {
t('<p align="right"><a class="action-button" href="/community/events/proposed-events">See all</a></p>'),
t('7-Localmeetups'),
t('Local meetups'),
t('<p align="right"><a class="action-button" href="/community/events/upcoming-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=localmeetup">See all</a></p> '),
t('<p align="right"><a class="action-button" href="/community/events/upcoming-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=localmeetup">See more meetups</a></p> '),
t('8-Past events'),
t('<p align="right"><a class="action-button" href="/community/events/past-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=drupalcamp&field_event_type_value[]=localmeetup&field_event_type_value[]=drupalinitiativemeeting&field_event_type_value[]=drupalcon&field_event_type_value[]=drupalfest&field_event_type_value[]=training&field_event_type_value[]=contribution">See more past events</a></p>'),
t('Contribution Events'),
t('Events: Contribution'),
t('DrupalCon Events'),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment