diff --git a/rocky/rocky/templates/oois/ooi_detail.html b/rocky/rocky/templates/oois/ooi_detail.html index c5647fa7f1a..bc0e3f16f7b 100644 --- a/rocky/rocky/templates/oois/ooi_detail.html +++ b/rocky/rocky/templates/oois/ooi_detail.html @@ -34,14 +34,14 @@ {% include "tasks/ooi_detail_task_list.html" %} -
- {% if not ooi|is_finding and not ooi|is_finding_type %} + {% if not ooi|is_finding and not ooi|is_finding_type %} +
{% include "oois/ooi_detail_findings_overview.html" with severity_summary=findings_severity_summary severity_summary_totals=severity_summary_totals %} - {% endif %} -
+
+ {% endif %}
-

{% translate "Scan" %} {{ ooi.human_readable }} {% translate "using boefjes" %}

+

{% translate "Scan" %} {% translate "using boefjes" %}

{% if enabled_boefjes_available %}
@@ -106,14 +106,16 @@

{% translate "Scan" %} {{ ooi.human_readable }} {% translate "using boefjes" {% translate "There are no boefjes enabled to scan an OOI of type" %} "{{ ooi.get_ooi_type }}". {% translate "See" %} KAT-alogus {% translate "to find and enable boefjes that can scan within the current level." %}

{% else %} -

- {% translate "There are no boefjes available within the current clearance level of" %} "{{ ooi.scan_profile.human_readable }}". -
- {% translate "See" %} KAT-alogus {% translate "to find and enable boefjes that can scan within the current level." %} -

-

- {% translate "Or if you have the authorization, upgrade the clearance level of" %} "{{ ooi.human_readable }}". -

+
+

+ {% translate "There are no boefjes available within the current clearance level of" %} "{{ ooi.scan_profile.human_readable }}". +
+ {% translate "See" %} KAT-alogus {% translate "to find and enable boefjes that can scan within the current level." %} +

+

+ {% translate "Or if you have the authorization, upgrade the clearance level of" %} "{{ ooi.human_readable }}". +

+
{% endif %}

{% endif %} diff --git a/rocky/rocky/templates/oois/ooi_detail_origins_inference.html b/rocky/rocky/templates/oois/ooi_detail_origins_inference.html index ac808b9a651..b59972c6857 100644 --- a/rocky/rocky/templates/oois/ooi_detail_origins_inference.html +++ b/rocky/rocky/templates/oois/ooi_detail_origins_inference.html @@ -22,10 +22,13 @@

{% translate "Inferred by" %}

{{ inference.origin.source }} - {% for param in params %} - {{ param.reference }} -
- {% endfor %} + {% endfor %} diff --git a/rocky/rocky/templates/oois/ooi_past_due_warning.html b/rocky/rocky/templates/oois/ooi_past_due_warning.html index d2a42d8f26f..7e34306bd18 100644 --- a/rocky/rocky/templates/oois/ooi_past_due_warning.html +++ b/rocky/rocky/templates/oois/ooi_past_due_warning.html @@ -1,28 +1,30 @@ {% load i18n %}
-

- {% if ooi_current %} - {% translate "This object is past due" %} - {% else %} - {% translate "This object is past due and has been deleted" %} - {% endif %} -

-

{% translate "This object is past due. You are viewing the object state in a past state." %}

-
    - {% if ooi_current %} -
  • {% translate "You will not be able to add Findings or other OOI's to past due objects." %}
  • -
  • - {% translate "View the current state" %} -
  • - {% else %} -
  • - {% blocktranslate trimmed %} - You will not be able to add Findings or other OOI's, this object has been deleted - and is no longer available. - {% endblocktranslate %} -
  • - {% endif %} -
+
+

+ {% if ooi_current %} + {% translate "This object is past due" %} + {% else %} + {% translate "This object is past due and has been deleted" %} + {% endif %} +

+

{% translate "This object is past due. You are viewing the object state in a past state." %}

+
    + {% if ooi_current %} +
  • {% translate "You will not be able to add Findings or other OOI's to past due objects." %}
  • +
  • + {% translate "View the current state" %} +
  • + {% else %} +
  • + {% blocktranslate trimmed %} + You will not be able to add Findings or other OOI's, this object has been deleted + and is no longer available. + {% endblocktranslate %} +
  • + {% endif %} +
+
diff --git a/rocky/rocky/templates/partials/ooi_detail_related_object.html b/rocky/rocky/templates/partials/ooi_detail_related_object.html index f70076a4c1e..bfa1306a431 100644 --- a/rocky/rocky/templates/partials/ooi_detail_related_object.html +++ b/rocky/rocky/templates/partials/ooi_detail_related_object.html @@ -3,17 +3,13 @@

{% translate "Related objects" %}

{% if not related %} -

- {% translate "No related objects added to" %} {{ ooi.get_ooi_type }}. -
- {% translate "Use the button below to add a related object." %} -

+

{% translate "No related object known for" %} {{ ooi.get_ooi_type }}.

{% endif %} {% if not ooi_past_due %} {% if not ooi|is_finding and not ooi|is_finding_type %} {% endif %} {% endif %} @@ -32,7 +28,9 @@

{% translate "Related objects" %}

{{ related_ooi.reference.human_readable }} - {{ related_ooi.name }} + + {{ related_ooi.reference.class_ }} + {% endfor %} diff --git a/rocky/rocky/templates/tasks/ooi_detail_task_list.html b/rocky/rocky/templates/tasks/ooi_detail_task_list.html index 22db1ce5610..2ecd0775b6f 100644 --- a/rocky/rocky/templates/tasks/ooi_detail_task_list.html +++ b/rocky/rocky/templates/tasks/ooi_detail_task_list.html @@ -4,11 +4,10 @@

{% translate "Tasks" %}

{% ooi_url 'ooi_detail' ooi.primary_key organization.code query=mandatory_fields as this_url %} {% if not task_list %} -

{% translate "There are no tasks for" %} {{ ooi }}

+

{% translate "There have been no tasks" %}

{% include "tasks/partials/task_filter.html" with clear_filter_url=this_url %} {% else %} -

{% translate "List of tasks for" %} {{ ooi }}

{% include "tasks/partials/task_filter.html" with clear_filter_url=this_url %}