Commit 797605a2 authored by l26yan's avatar l26yan
Browse files

ISTWCMS-2636 Format popup text

parent 30f4f2bd
<?php
/**
* @file
* This is uw_ct_event.features.field_instance.inc file.
* uw_ct_event.features.field_instance.inc
*/
/**
......@@ -436,7 +436,7 @@ function uw_ct_event_field_default_field_instances() {
'bundle' => 'uw_event',
'default_value' => NULL,
'deleted' => 0,
'description' => "Optional: provide the name of the host and a link to the host's website (e.g. https://uwaterloo.ca/&lt;host website&gt;).",
'description' => 'Optional: provide the name of the host and a link to the host\'s website (e.g. https://uwaterloo.ca/&lt;host website&gt;).',
'display' => array(
'default' => array(
'label' => 'inline',
......@@ -700,7 +700,7 @@ function uw_ct_event_field_default_field_instances() {
'leaflet_map' => 'OSM Mapnik',
'popup' => array(
'show' => 1,
'text' => '[node:field_event_location:name:0] [node:field_event_location:street:0] [node:field_event_location:city:0] [node:field_event_location:province:0] [node:field_event_location:postal_code:0] [node:field_event_location:country_name:0]',
'text' => '<div class="field-label">[node:field_event_location:name:0]</div><div class="address-content"><div class="steet-address">[node:field_event_location:street:0]</div><span class="locality">[node:field_event_location:city:0] [node:field_event_location:province:0] [node:field_event_location:postal_code:0]</span><div class="country-name">[node:field_event_location:country_name:0]</div></div>',
),
),
'type' => 'location_cck_leaflet',
......@@ -1417,7 +1417,7 @@ function uw_ct_event_field_default_field_instances() {
t('Map');
t('Optional: provide a link to a map with the event location (e.g. https://uwaterloo.ca/map/)');
t('Optional: provide the name of the event website and a link to a website with more information specific to this event (e.g. https://uwaterloo.ca/&lt;event details web page&gt;).');
t("Optional: provide the name of the host and a link to the host's website (e.g. https://uwaterloo.ca/&lt;host website&gt;).");
t('Optional: provide the name of the host and a link to the host\'s website (e.g. https://uwaterloo.ca/&lt;host website&gt;).');
t('The listing page image is used on the event listing pages. You can re-use this image by inserting it into the event description.');
t('Title');
t('Type');
......
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