From 532f5297c12125fed4d69b15bb1813f13bbbc5e8 Mon Sep 17 00:00:00 2001 From: MR Lemon Date: Sun, 26 Apr 2020 16:43:34 +0100 Subject: fixed address alignment --- .../organisations/organisation_detail.html | 97 +++++++++++----------- 1 file changed, 47 insertions(+), 50 deletions(-) (limited to 'ctrack') diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html index e871e03..a044360 100644 --- a/ctrack/organisations/templates/organisations/organisation_detail.html +++ b/ctrack/organisations/templates/organisations/organisation_detail.html @@ -86,7 +86,8 @@ {% endfor %} {% else %} - Add new... + Add + new... {% endif %} @@ -103,74 +104,34 @@
{% if no_addr > 1 %} {% for a in addr %} -
+
{{ a.type }}
-
-
- - - - - - - - - - - - - - - - - - - - - - -
{{ a.line1 }} {{ a.line2 }}
{{ a.line3 }}
{{ a.city }}
{{ a.county }}
{{ a.postcode }}
{{ a.country }}
-
Notes:
- {{ a.other_details }} -
-
-
-
-
-
- {% endfor %} - {% else %} -
-
-
-
{{ addr.type }}
-
-
+
- + - + - + - + - + - +
{{ addr.line1 }} {{ addr.line2 }}{{ a.line1 }} {{ a.line2 }}
{{ addr.line3 }}{{ a.line3 }}
{{ addr.city }}{{ a.city }}
{{ addr.county }}{{ a.county }}
{{ addr.postcode }}{{ a.postcode }}
{{ addr.country }}{{ a.country }}
Notes:
- {{ addr.other_details }} + {{ a.other_details }}
@@ -178,6 +139,42 @@
+ {% endfor %} + {% else %} +
+
+
+
{{ addr.type }}
+
+ + + + + + + + + + + + + + + + + + + + + + +
{{ addr.line1 }} {{ addr.line2 }}
{{ addr.line3 }}
{{ addr.city }}
{{ addr.county }}
{{ addr.postcode }}
{{ addr.country }}
+
Notes:
+ {{ addr.other_details }} +
+
+
+
{% endif %}
-- cgit v1.2.3