From 5b7c47a781f33bfbeff12c30f5c790bac2378731 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Jun 2018 10:20:59 +0200 Subject: Add help if the config is invalid --- .../config/edit-custom-config/edit-custom-config.component.html | 1 + .../config/edit-custom-config/edit-custom-config.component.scss | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'client/src/app') diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html index 4a6c631fb..7f0323601 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html @@ -272,4 +272,5 @@ Check this checkbox, save the configuration and test with a video URL of your in + It seems the configration is invalid. Please search potential errors in the different tabs. diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss index e81044554..4c9167211 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss @@ -19,6 +19,11 @@ input[type=submit] { @include orange-button; margin-top: 20px; + + & + .form-error { + display: inline; + margin-left: 5px; + } } .inner-form-title { -- cgit v1.2.3