diff --git a/app/templates/ajax/load_openvpn.html b/app/templates/ajax/load_openvpn.html index 9a8fef27..541ba546 100644 --- a/app/templates/ajax/load_openvpn.html +++ b/app/templates/ajax/load_openvpn.html @@ -84,7 +84,7 @@

You have not installed OpenVPN client.

There is no server -

Read here +

Read here how to install OpenVPN client.

{% endif %} diff --git a/app/templates/ajax/load_services.html b/app/templates/ajax/load_services.html index ac30308a..c2ffe188 100644 --- a/app/templates/ajax/load_services.html +++ b/app/templates/ajax/load_services.html @@ -44,7 +44,7 @@ {% if s.0 in ('prometheus', 'grafana-server') %} {{lang.words.install|title()}} {% elif s.0 in ('rabbitmq-server', 'fail2ban') %} - {{lang.words.install|title()}} + {{lang.words.install|title()}} {% else %} {{lang.words.install|title()}} {% endif %} diff --git a/app/templates/ajax/load_telegram.html b/app/templates/ajax/load_telegram.html index 67fcfd08..07a1e1b1 100644 --- a/app/templates/ajax/load_telegram.html +++ b/app/templates/ajax/load_telegram.html @@ -17,7 +17,7 @@

{{lang.phrases.checker_not_installed}} - {{lang.words.read|title()}} {{lang.words.here}} + {{lang.words.read|title()}} {{lang.words.here}} {{lang.phrases.how_to_install_checker}}

{% else %} diff --git a/app/templates/ajax/load_updateroxywi.html b/app/templates/ajax/load_updateroxywi.html index bed92a4f..7e63a7d9 100644 --- a/app/templates/ajax/load_updateroxywi.html +++ b/app/templates/ajax/load_updateroxywi.html @@ -76,7 +76,7 @@ {% endif %} {% endif %} - {{services_name[s.0]['name']}} + {{services_name[s.0]['name']}} {% if s.3 != '* is not installed' and s.3 != '' %} diff --git a/inc/configshow.js b/inc/configshow.js index ad1f3961..c462efe1 100644 --- a/inc/configshow.js +++ b/inc/configshow.js @@ -62,17 +62,9 @@ $( function() { type: frm.attr('method'), success: function( data ) { data = data.replace(/\n/g, "
"); - if (data.indexOf(service + ': command not found') != '-1') { - try { - toastr.error('Cannot save config. There is no ' + service); - } catch (err) { - console.log(err); - } - } else { - toastr.clear(); - returnNiceCheckingConfig(data); - $(window).unbind('beforeunload'); - } + toastr.clear(); + returnNiceCheckingConfig(data); + $(window).unbind('beforeunload'); if (data.indexOf('warning: ') != '-1') { toastr.warning(data) }