From 24e08cb648a7445422333be25a237a8526ef969d Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Wed, 14 Jul 2021 14:14:49 +0200 Subject: [PATCH] TT#128256 Add localisation for support status page While we are here, also use modern 'apt' instead of 'apt-get'. Change-Id: I6285b838f178d397f9bbad4398f686c52f7ad300 --- share/templates/statistics/supportstatus.tt | 33 +++++++++++---------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/share/templates/statistics/supportstatus.tt b/share/templates/statistics/supportstatus.tt index 256eb81c29..d7f9e5a09f 100644 --- a/share/templates/statistics/supportstatus.tt +++ b/share/templates/statistics/supportstatus.tt @@ -1,6 +1,5 @@ [% site_config.title = c.loc('NGCP Support Status') -%] -
[% c.loc('Back') %] @@ -9,24 +8,26 @@ [% back_created = 1 -%]
-[% IF support_status_code == 1; %] -

-Sipwise support access is enabled. -

+[% IF support_status_code == 1 -%] + +

[% c.loc('Sipwise support access is') %] [% c.loc('enabled') %].

-To disable support access run +[% c.loc('To disable Sipwise support access run:') %]
-apt-get install ngcp-support-noaccess -[% ELSIF support_status_code == 2; %] -

-Sipwise support access is disabled. -

+apt install ngcp-support-noaccess + +[% ELSIF support_status_code == 2 -%] + +

[% c.loc('Sipwise support access is') %] [% c.loc('disabled') %].

-To enable support access run +[% c.loc('To enable Sipwise support access run:') %]
-apt-get install ngcp-support-access -[% ELSE %] -Could not determine status of Sipwise support access. -[% END; %] +apt install ngcp-support-access + +[% ELSE -%] + +[% c.loc('Could not determine status of Sipwise support access.') %] + +[% END -%] [% # vim: set tabstop=4 syntax=html expandtab: -%]