' . $this->lang->line('appointment_details_was_sent_to_you') . '
'; + + if ($this->config->item('ea_google_sync_feature')) { + echo ' + '; + } + + // Display exceptions (if any). + if (isset($exceptions)) { + echo 'diff --git a/src/application/views/appointments/book_success.php b/src/application/views/appointments/book_success.php index 6e02d9e0..5c1637c4 100644 --- a/src/application/views/appointments/book_success.php +++ b/src/application/views/appointments/book_success.php @@ -7,27 +7,6 @@
' . $this->lang->line('appointment_details_was_sent_to_you') . '
'; + + if ($this->config->item('ea_google_sync_feature')) { + echo ' + '; + } + + // Display exceptions (if any). + if (isset($exceptions)) { + echo '' +
EALang['appointment_added_to_google_calendar'] +
@@ -166,8 +203,7 @@
// The user denied access or something else happened, display
// corresponding message on the screen.
$('#success-frame').append(
- '
' +
- '
' + EALang['could_not_add_to_google_calendar'] + @@ -179,45 +215,9 @@ } }); - -
-' . $this->lang->line('appointment_details_was_sent_to_you') . '
'; - if ($this->config->item('ea_google_sync_feature')) { - echo ' - '; - } - - // Display exceptions (if any). - if (isset($exceptions)) { - echo '