Skip to content

Commit

Permalink
Merge pull request #16230 from aydun/1511_event_show_location
Browse files Browse the repository at this point in the history
dev/core#1511 Expose option to show event location on configuration tab
  • Loading branch information
seamuslee001 authored Jan 16, 2020
2 parents 0b41e24 + 22cf2ac commit 077980f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
24 changes: 24 additions & 0 deletions templates/CRM/Event/Form/ManageEvent/Location.hlp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{*
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC. All rights reserved. |
| |
| This work is published under the GNU AGPLv3 license with some |
| permitted exceptions and without any warranty. For full license |
| and copyright information, see https://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{htxt id="id-is_show_location-title"}
{ts}Show Location{/ts}
{/htxt}
{htxt id="id-is_show_location"}
{ts}If this option is selected, the location will be shown in various places including:
<ul>
<li>Event information page</li>
<li>Event registration confirmation emails</li>
<li>HTML, RSS and ICALENDAR feeds of event information</li>
</ul>
Normally location information is made publicly available. By deselecting this box, the location is only available to event administrators.{/ts}
<br />
{ts}Note that if 'Show Location' is not set a map will not be shown, regardless of the setting of 'Include Map to Event Location'.{/ts}
{/htxt}

8 changes: 8 additions & 0 deletions templates/CRM/Event/Form/ManageEvent/Location.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
<td id="locUsedMsg" colspan="3">
</td>
</tr>
<tr id="is_show_location" class="crm-event-manage-location-form-block-is_show_location">
<td class="labels">
{$form.is_show_location.label} {help id="id-is_show_location"}
</td>
<td class="values">
{$form.is_show_location.html}
</td>
</tr>
</table>
{/if}

Expand Down

0 comments on commit 077980f

Please sign in to comment.