Make business hours configurable

This commit is contained in:
Björn Fromme
2018-05-30 12:52:12 +02:00
parent ad4ac0d6f2
commit facf31f894
3 changed files with 4 additions and 1 deletions
@@ -46,6 +46,8 @@ plugin.tx_epevents {
activityDefaultHeaderImage = activityDefaultHeaderImage =
# cat=plugin.tx_epevents//a; type=string; label=Activity default keywords image # cat=plugin.tx_epevents//a; type=string; label=Activity default keywords image
activityDefaultKeywordsImage = activityDefaultKeywordsImage =
# cat=plugin.tx_epevents//a; type=string; label=Business hours
businessHours = Montag - Freitag 08:30 Uhr bis 17:00 Uhr
} }
persistence { persistence {
# cat=plugin.tx_epevents//a; type=string; label=Default storage PID # cat=plugin.tx_epevents//a; type=string; label=Default storage PID
@@ -49,6 +49,7 @@ plugin.tx_epevents {
activityDefaultKeywordsImage = {$plugin.tx_epevents.settings.activityDefaultKeywordsImage} activityDefaultKeywordsImage = {$plugin.tx_epevents.settings.activityDefaultKeywordsImage}
enableContactFormAutoreply = {$plugin.tx_epevents.settings.enableContactFormAutoreply} enableContactFormAutoreply = {$plugin.tx_epevents.settings.enableContactFormAutoreply}
contactFormAutoreplySubject = {$plugin.tx_epevents.settings.contactFormAutoreplySubject} contactFormAutoreplySubject = {$plugin.tx_epevents.settings.contactFormAutoreplySubject}
businessHours = {$plugin.tx_epevents.settings.businessHours}
configurator { configurator {
options { options {
travelType { travelType {
@@ -32,7 +32,7 @@
</div> </div>
</div> </div>
<div class="page-footer__bottom__column page-footer__businesshours"> <div class="page-footer__bottom__column page-footer__businesshours">
Öffnungszeiten:<br>Montag - Freitag 08:30 Uhr bis 17:00 Uhr Öffnungszeiten:<br>{settings.businessHours}
</div> </div>
<div class="page-footer__bottom__column page-footer__legal"> <div class="page-footer__bottom__column page-footer__legal">
<span class="page-footer__copyright">&copy; E&amp;P Reisen und Events GmbH</span> <span class="page-footer__copyright">&copy; E&amp;P Reisen und Events GmbH</span>