diff --git a/index_tt_ajax.php b/index_tt_ajax.php index 0d846b60e0..62c869012e 100644 --- a/index_tt_ajax.php +++ b/index_tt_ajax.php @@ -62,7 +62,7 @@ if ($tt != false) { $output .= $tt; } else { - echo Format::alert(__('There is no information for the date specified.'), 'error'); + echo Format::alert(__('There is no information for the date specified.'), 'empty'); } } diff --git a/resources/templates/components/form.twig.html b/resources/templates/components/form.twig.html index 6fe1fe2cc4..951206e144 100644 --- a/resources/templates/components/form.twig.html +++ b/resources/templates/components/form.twig.html @@ -11,6 +11,7 @@ {% set standardLayout = "noIntBorder" not in form.getClass and "form-small" not in form.getClass and "blank" not in form.getClass %} {% set smallLayout = "form-small" in form.getClass %} {% set useSections = "noIntBorder" not in form.getClass and "blank" not in form.getClass %} +{% set useSaveWarning = "noIntBorder" not in form.getClass and "disable-warnings" not in form.getClass %} {% if quickSave and form.getAction %}