From af8752d2b5fd975053fcb61ef4a7fddf7a7d11ba Mon Sep 17 00:00:00 2001 From: MR Lemon Date: Sun, 26 Apr 2020 19:38:57 +0100 Subject: made system info on detail pages consistent --- .../caf/templates/caf/applicablesystem_detail.html | 18 ++++++++++------ ctrack/caf/templates/caf/caf_detail.html | 25 +++++++++++++++------- 2 files changed, 29 insertions(+), 14 deletions(-) (limited to 'ctrack/caf') diff --git a/ctrack/caf/templates/caf/applicablesystem_detail.html b/ctrack/caf/templates/caf/applicablesystem_detail.html index 725435e..698ee4e 100644 --- a/ctrack/caf/templates/caf/applicablesystem_detail.html +++ b/ctrack/caf/templates/caf/applicablesystem_detail.html @@ -5,13 +5,19 @@ {% block title %}{{ object.name }}{% endblock %} {% block content %} -
+
-
-

{{ object.name }}

-
Description
-

{{ object.description }}

-

Contained within CAF: to {{ object.caf }}

+
+
+

{{ object.name }}

+
+
+
Description
+
+
+

{{ object.description }}

+

Contained within CAF: to {{ object.caf }}

+
diff --git a/ctrack/caf/templates/caf/caf_detail.html b/ctrack/caf/templates/caf/caf_detail.html index 7b7fc6d..aef275d 100644 --- a/ctrack/caf/templates/caf/caf_detail.html +++ b/ctrack/caf/templates/caf/caf_detail.html @@ -62,17 +62,26 @@
-
Applicable Systems NIS Systems Add - new...
+ new...
- {% for system in systems %} - - - - - {% endfor %} + {% if systems|length > 0 %} + {% for system in systems %} + + + + + {% endfor %} + {% else %} + Add + new... + {% endif %}
{{ system.name }}{{ system.description }}
{{ system.name }}{{ system.description }}
+ + {{ system.caf }} + | Edit System +
-- cgit v1.2.3