{if $event.locations.city.name} {$event.locations.city.name} {/if}
{if $event.locations.state.value} , {$event.locations.state.value} {/if}
{if $event.locations.zip} {$event.locations.zip} {/if}
+ {if $event.locations.phone} {$event.locations.phone} {/if}
</div>
{elseif $event.use_member_location.value}
<div id="glm-event-detail-location">
{if $event.member.city} {$event.member.city} {/if}
{if $event.member.state.value}, {$event.member.state.value}{/if}
{if $event.member.zip} {$event.member.zip} {/if}
+ {if $event.member.phone} {$event.member.phone} {/if}
</div>
{/if}
{/if}
{if $event.url}<a href="{$event.url}" target="_blank">{$event.url}</a><br>{/if}
{if $event.contact_name}Contact: {$event.contact_name}<br>{/if}
{if $event.contact_email}Email: <a href="mailto: {$event.contact_email}">{$event.contact_email}</a><br>{/if}
- {if $event.contact_phone}Phone: {$event.contact_phone}<br>{/if}
+ {if $event.contact_phone}<span class="glm-event-detail-contact-phone"><span class="glm-field-title">Phone: </span><span class="glm-field-value">{$event.contact_phone}</span></span><br>{/if}
{if $event.file1}
<div>File:
<a href="{$filePathUrl}{$event.file1}">{if $event.file1_descr}{$event.file1_descr}{else}{$event.file1}{/if}</a>
</div><!-- /#glm-event-wrapper -->
<script type="text/javascript">
jQuery(document).ready( function ($){
- var view_select = $("#glm-event-view-select");
- view_select.hide();
+ var view_select = $("#glm-event-view-select");
+ view_select.hide();
+
+ // Replace the phone separation character with whatever is set in the management
+ {if $settings.phone_infix}
+ var processedPhone = $('.glm-event-detail-contact-phone .glm-field-value').text().trim().replace(/[^a-zA-Z0-9 ]/g, '{$settings.phone_infix}');
+ $('.glm-event-detail-contact-phone .glm-field-value').text(processedPhone);
+ {/if}
});
</script>