From 0a1c870c226e7c56dfbb38a25afeb6c55188c380 Mon Sep 17 00:00:00 2001 From: originalsouth Date: Tue, 26 Mar 2024 14:34:14 +0100 Subject: [PATCH] Fix #1739 (#2705) Co-authored-by: ammar92 Co-authored-by: Jan Klopper --- rocky/rocky/locale/django.pot | 2 +- rocky/rocky/templates/partials/explanations.html | 2 +- rocky/rocky/templates/scan_profiles/scan_profile_detail.html | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rocky/rocky/locale/django.pot b/rocky/rocky/locale/django.pot index c1431dadd5e..cf6968c015d 100644 --- a/rocky/rocky/locale/django.pot +++ b/rocky/rocky/locale/django.pot @@ -5177,7 +5177,7 @@ msgid "graph" msgstr "" #: rocky/templates/partials/explanations.html -msgid "Clearance level inheritance" +msgid "Clearance level inheritance:" msgstr "" #: rocky/templates/partials/explanations.html diff --git a/rocky/rocky/templates/partials/explanations.html b/rocky/rocky/templates/partials/explanations.html index d811e0ec86b..7c2d5533758 100644 --- a/rocky/rocky/templates/partials/explanations.html +++ b/rocky/rocky/templates/partials/explanations.html @@ -3,7 +3,7 @@ {% spaceless %}
-

{% translate "Clearance level inheritance" %}

+

{% translate "Clearance level inheritance:" %}

{% if clearance_level_inheritance %} diff --git a/rocky/rocky/templates/scan_profiles/scan_profile_detail.html b/rocky/rocky/templates/scan_profiles/scan_profile_detail.html index a0b0ce022f1..664eaff4cb2 100644 --- a/rocky/rocky/templates/scan_profiles/scan_profile_detail.html +++ b/rocky/rocky/templates/scan_profiles/scan_profile_detail.html @@ -37,6 +37,8 @@

{% translate "Clearance level" %}:

Boefje is run manually for this object again. Objects with a clearance level higher than "L0" will be scanned automatically by Boefjes with corresponding scan levels. {% endblocktranslate %} + {% include "partials/explanations.html" %} +

{% elif ooi.scan_profile.scan_profile_type == "inherited" %} {% include "partials/explanations.html" %}