{% if form.errors %}
- + {% trans "Incorrect username or password." %}
{% endif %} diff --git a/computes/templates/computes.html b/computes/templates/computes.html index 58ffb31..6233122 100644 --- a/computes/templates/computes.html +++ b/computes/templates/computes.html @@ -243,7 +243,7 @@ {% else %}
- + {% trans "Warning:" %} {% trans "Hypervisor doesn't have any Computes" %}
diff --git a/create/templates/create_instance.html b/create/templates/create_instance.html index d2be478..42f18aa 100644 --- a/create/templates/create_instance.html +++ b/create/templates/create_instance.html @@ -233,7 +233,7 @@ {% if not flavors %}
- + {% trans "Warning:" %} {% trans "Hypervisor doesn't have any Flavors" %}
diff --git a/instances/templates/instances.html b/instances/templates/instances.html index 67d219a..971b1cf 100644 --- a/instances/templates/instances.html +++ b/instances/templates/instances.html @@ -47,7 +47,7 @@ {% if not all_user_vms %}
- + {% trans "Warning:" %} {% trans "You don't have any Instance" %}
diff --git a/instances/views.py b/instances/views.py index 6d8454c..4d835fc 100644 --- a/instances/views.py +++ b/instances/views.py @@ -193,7 +193,6 @@ def instances(request): error_messages.append(lib_err) addlogmsg(request.user.username, instance.name, lib_err.message) - instances_template_file = 'instances.html' view_style = settings.VIEW_INSTANCES_LIST_STYLE return render(request, 'instances.html', locals()) diff --git a/interfaces/templates/interfaces.html b/interfaces/templates/interfaces.html index 9be2cc4..42d4456 100644 --- a/interfaces/templates/interfaces.html +++ b/interfaces/templates/interfaces.html @@ -35,7 +35,7 @@ {% if not ifaces_all %}
- + {% trans "Warning:" %} {% trans "Hypervisor doesn't have any Interfaces" %}
diff --git a/logs/templates/showlogs.html b/logs/templates/showlogs.html index 13d0e34..bb6d688 100644 --- a/logs/templates/showlogs.html +++ b/logs/templates/showlogs.html @@ -17,7 +17,7 @@ {% if not logs %}
- + {% trans "Warning:" %} {% trans "You don't have any Logs" %}
diff --git a/networks/templates/networks.html b/networks/templates/networks.html index e2e122f..36322e2 100644 --- a/networks/templates/networks.html +++ b/networks/templates/networks.html @@ -34,7 +34,7 @@ {% if not networks %}
- + {% trans "Warning:" %} {% trans "Hypervisor doesn't have any Networks" %}
diff --git a/secrets/templates/secrets.html b/secrets/templates/secrets.html index 10a6b60..8286bfb 100644 --- a/secrets/templates/secrets.html +++ b/secrets/templates/secrets.html @@ -38,7 +38,7 @@ {% if not secrets_all %}
- + {% trans "Warning:" %} {% trans "Hypervisor doesn't have any Secrets" %}
diff --git a/storages/templates/storage.html b/storages/templates/storage.html index e9f0e22..ecc9adc 100644 --- a/storages/templates/storage.html +++ b/storages/templates/storage.html @@ -181,7 +181,7 @@ {% else %}
- + {% trans "Warning:" %} {% trans "Hypervisor doesn't have any Volumes" %}
diff --git a/storages/templates/storages.html b/storages/templates/storages.html index 4b8dc93..21bca90 100644 --- a/storages/templates/storages.html +++ b/storages/templates/storages.html @@ -34,7 +34,7 @@ {% if not storages %}
- + {% trans "Warning:" %} {% trans "Hypervisor doesn't have any Storages" %}
diff --git a/templates/navbar.html b/templates/navbar.html index f946595..6b69be4 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -5,7 +5,7 @@