From 8f5cc5755a446a9015f2040567da1ca803284338 Mon Sep 17 00:00:00 2001 From: catborise Date: Fri, 19 Oct 2018 16:11:22 +0300 Subject: [PATCH] make table headers translatable --- instances/templates/add_instance_volume.html | 91 ++++++++++++++++++++ instances/templates/instances.html | 12 +-- 2 files changed, 97 insertions(+), 6 deletions(-) create mode 100644 instances/templates/add_instance_volume.html diff --git a/instances/templates/add_instance_volume.html b/instances/templates/add_instance_volume.html new file mode 100644 index 0000000..ef7cb48 --- /dev/null +++ b/instances/templates/add_instance_volume.html @@ -0,0 +1,91 @@ +{% load i18n %} +{% if request.user.is_superuser and status == 5 %} + + + + + + +{% endif %} diff --git a/instances/templates/instances.html b/instances/templates/instances.html index 28a6d34..2383178 100644 --- a/instances/templates/instances.html +++ b/instances/templates/instances.html @@ -66,12 +66,12 @@ - - - - - - + + + + + +
Name
Description
Host
User
StatusVCPUMemoryActions{% trans 'Name' %}
{% trans 'Description' %}
{% trans 'Host' %}
{% trans 'User' %}
{% trans 'Status' %}{% trans 'VCPU' %}{% trans 'Memory' %}{% trans 'Actions' %}