From 75bac731b984b797c6cb7cbb5e74dfdab35d18d5 Mon Sep 17 00:00:00 2001 From: Steven Bal Date: Fri, 23 Aug 2019 09:47:11 +0200 Subject: [PATCH 1/2] Unlocalized session_id for statusbar with jQuery --- .../testsession/templates/testsession/table/row-session.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vng/testsession/templates/testsession/table/row-session.html b/src/vng/testsession/templates/testsession/table/row-session.html index f0287ee1..25551507 100644 --- a/src/vng/testsession/templates/testsession/table/row-session.html +++ b/src/vng/testsession/templates/testsession/table/row-session.html @@ -1,11 +1,12 @@ {% load subdomainurls %} +{% load l10n %} {% load i18n %} {% spaceless %} {% with session_related.0 as session %} - #{{ session.id }} + #{{ session.id|unlocalize }} {% if session.status == choices.running %} @@ -44,7 +45,7 @@ {% if session.is_starting and session.deploy_status %} - +
From 402a1f8f7c7aecdd7e1f8834f9f472c2a03e4230 Mon Sep 17 00:00:00 2001 From: Steven Bal Date: Fri, 23 Aug 2019 09:52:07 +0200 Subject: [PATCH 2/2] Unlocalized server_run.id for statusbar with jQuery --- .../templates/servervalidation/table/row-server-run.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vng/servervalidation/templates/servervalidation/table/row-server-run.html b/src/vng/servervalidation/templates/servervalidation/table/row-server-run.html index 2883074b..27102188 100644 --- a/src/vng/servervalidation/templates/servervalidation/table/row-server-run.html +++ b/src/vng/servervalidation/templates/servervalidation/table/row-server-run.html @@ -1,8 +1,9 @@ {% load i18n %} +{% load l10n %} {% spaceless %} - #{{ server_run.id }} + #{{ server_run.id|unlocalize }} {% if server_run.status == choices.running %} @@ -41,7 +42,7 @@ {% endwith %} {% if server_run.is_running %} - + {% else %} {% endif %}