From: Chocobozzz Date: Thu, 7 Jun 2018 08:20:59 +0000 (+0200) Subject: Add help if the config is invalid X-Git-Tag: v1.0.0-beta.8~29 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5b7c47a781f33bfbeff12c30f5c790bac2378731;p=oweals%2Fpeertube.git Add help if the config is invalid --- 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 {