mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 14:42:23 +03:00
Moved the customer-notifications setting in the 'general settings' tab.
This commit is contained in:
parent
f88c6cb898
commit
fa992b824a
2 changed files with 16 additions and 18 deletions
|
@ -117,6 +117,17 @@
|
|||
<?php echo $this->lang->line('date_format_hint'); ?>
|
||||
</span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label><?php echo $this->lang->line('customer_notifications'); ?></label>
|
||||
<br>
|
||||
<button type="button" id="customer-notifications" class="btn btn-default" data-toggle="button" aria-pressed="false">
|
||||
<span class="glyphicon glyphicon-envelope"></span>
|
||||
<?php echo $this->lang->line('receive_notifications'); ?>
|
||||
</button>
|
||||
<span class="help-block">
|
||||
<?php echo $this->lang->line('customer_notifications_hint'); ?>
|
||||
</span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="require-captcha">
|
||||
CAPTCHA
|
||||
|
@ -270,19 +281,6 @@
|
|||
<label for="book-advance-timeout"><?php echo $this->lang->line('timeout_minutes'); ?></label>
|
||||
<input type="text" id="book-advance-timeout" data-field="book_advance_timeout" class="form-control" />
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<h4><?php echo $this->lang->line('customer_notifications'); ?></h4>
|
||||
<span class="help-block">
|
||||
<?php echo $this->lang->line('customer_notifications_hint'); ?>
|
||||
</span>
|
||||
<div class="form-group">
|
||||
<button type="button" id="customer-notifications" class="btn btn-default" data-toggle="button" aria-pressed="false">
|
||||
<span class="glyphicon glyphicon-envelope"></span>
|
||||
<?php echo $this->lang->line('receive_notifications'); ?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-5 breaks-wrapper">
|
||||
<h4><?php echo $this->lang->line('breaks'); ?></h4>
|
||||
|
|
|
@ -271,6 +271,11 @@ SystemSettings.prototype.get = function() {
|
|||
});
|
||||
});
|
||||
|
||||
settings.push({
|
||||
'name': 'customer_notifications',
|
||||
'value': $('#customer-notifications').hasClass('active') === true ? '1' : '0'
|
||||
});
|
||||
|
||||
settings.push({
|
||||
'name': 'require_captcha',
|
||||
'value': $('#require-captcha').hasClass('active') === true ? '1' : '0'
|
||||
|
@ -287,11 +292,6 @@ SystemSettings.prototype.get = function() {
|
|||
'value': $('#book-advance-timeout').val()
|
||||
});
|
||||
|
||||
settings.push({
|
||||
'name': 'customer_notifications',
|
||||
'value': $('#customer-notifications').hasClass('active') === true ? '1' : '0'
|
||||
});
|
||||
|
||||
return settings;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue