diff options
Diffstat (limited to 'module/web/templates')
-rw-r--r-- | module/web/templates/default/admin.html | 3 | ||||
-rw-r--r-- | module/web/templates/default/settings.html | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/module/web/templates/default/admin.html b/module/web/templates/default/admin.html index 5b6be26eb..5be649de7 100644 --- a/module/web/templates/default/admin.html +++ b/module/web/templates/default/admin.html @@ -5,7 +5,8 @@ {% block content %} -{{ _("Note: You can only change permissions for webinterface.") }} {{ _("To add user or change passwords use:") }} <b>python pyLoadCore.py -u</b><br> +{{ _("Note: You can only change permissions for webinterface.") }} +{{ _("To add user or change passwords use:") }} <b>python pyLoadCore.py -u</b><br> {{ _("Important: Admin user have always all permissions! Only Admin user can use other clients like CLI and GUI.") }} <form action="" method="POST"> diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html index 69ab39292..a62aab99f 100644 --- a/module/web/templates/default/settings.html +++ b/module/web/templates/default/settings.html @@ -9,6 +9,10 @@ <script type="text/javascript" src="/media/default/js/settings_ui.js"></script> <script type="text/javascript"> + + success_msg = "{{ _("Settings saved.") }}"; + failed_msg = "{{ _("Error occured.") }}"; + window.addEvent('domready', function() { account_dialog = new Fx.Tween($("account_box")); |