Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/core#1511 Expose option to show event location on configuration tab #16230

Merged
merged 2 commits into from
Jan 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Copy link
Contributor

@yashodha yashodha Jan 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aydun
Can we remove the in first and last and capitalise all or none

  • Event Information page
  • Event registration confirmation emails
  • HTML, RSS and ICALENDAR feeds of event information

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