From 99b3fec08f22dcdc84b188c3654cc83eac331c89 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Erik=20Haider=20Fors=C3=A9n?= Date: Sun, 6 Dec 2015 11:55:19 +0100 Subject: [PATCH] [sidebar] Added warning if org unit doesn't have coordinates. Added more contact information to sidebar --- src/components/sidebar/sidebar.html | 40 ++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/src/components/sidebar/sidebar.html b/src/components/sidebar/sidebar.html index 50b0a89..c6059a8 100644 --- a/src/components/sidebar/sidebar.html +++ b/src/components/sidebar/sidebar.html @@ -1,7 +1,7 @@
-

{{newObject?"Add new Organizational Unit":"Update Organizational Unit"}}

+

{{newObject?"Add new Organizational Unit":"Update Organizational Unit"}}

@@ -45,14 +45,17 @@

The specified URL is not valid

-
+
Coordinates -
+
+
+

This organisation unit has no associated coordinates

+
@@ -75,6 +78,7 @@
+

Organisation Unit

{{(form.controls.name.value) || "[None]"}}

@@ -103,6 +107,36 @@

{{(form.controls.url.value) ||["None"]}}

+
+ Coordinates +
+ +

{{form.controls.lat.value}}

+ +

{{form.controls.lng.value}}

+
+
+

This organisation unit has no associated coordinates

+
+ +
+ +
+ Contact Information + +

{{form.controls.contactPerson.value || ["None"]}}

+ +

{{form.controls.address.value || ["None"]}}

+ +

{{form.controls.email.value || ["None"]}}

+ +

{{form.controls.phoneNumber.vaule || ["None"]}}

+
-- 2.39.3