From d075421e8854824747f0893592593e52bebb1e8d Mon Sep 17 00:00:00 2001 From: illya Date: Tue, 7 Feb 2017 14:52:31 +0200 Subject: [PATCH 1/4] Check if icons are needed --- organizations/client/profile/header/header.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/organizations/client/profile/header/header.html b/organizations/client/profile/header/header.html index 3a01f00312..8d07694ac1 100644 --- a/organizations/client/profile/header/header.html +++ b/organizations/client/profile/header/header.html @@ -32,20 +32,26 @@

    + {{# if organization.contact.person }}
  • {{ organization.contact.person }}
  • + {{/ if }} + {{# if organization.contact.phone }}
  • {{ organization.contact.phone }}
  • + {{/ if }} + {{# if organization.contact.email }}
  • {{ organization.contact.email }}
  • + {{/ if }}
From a375d8ea070bd686ef7b98f9e43a13a06c0133d3 Mon Sep 17 00:00:00 2001 From: illya Date: Tue, 7 Feb 2017 14:54:40 +0200 Subject: [PATCH 2/4] Indentation --- .../client/profile/header/header.html | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/organizations/client/profile/header/header.html b/organizations/client/profile/header/header.html index 8d07694ac1..c05c4a82e7 100644 --- a/organizations/client/profile/header/header.html +++ b/organizations/client/profile/header/header.html @@ -33,24 +33,24 @@

    {{# if organization.contact.person }} -
  • - - {{ organization.contact.person }} -
  • +
  • + + {{ organization.contact.person }} +
  • {{/ if }} {{# if organization.contact.phone }} -
  • - - {{ organization.contact.phone }} -
  • +
  • + + {{ organization.contact.phone }} +
  • {{/ if }} {{# if organization.contact.email }} -
  • - - - {{ organization.contact.email }} - -
  • +
  • + + + {{ organization.contact.email }} + +
  • {{/ if }}
From 5b58e1a6a08cb1f1546e64a9f43a9fc27b2b6f2c Mon Sep 17 00:00:00 2001 From: illya Date: Tue, 7 Feb 2017 14:55:25 +0200 Subject: [PATCH 3/4] Check if description exist --- organizations/client/profile/header/header.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/organizations/client/profile/header/header.html b/organizations/client/profile/header/header.html index c05c4a82e7..de9d7e915a 100644 --- a/organizations/client/profile/header/header.html +++ b/organizations/client/profile/header/header.html @@ -17,11 +17,13 @@

{{/ if }}

-
-

- {{ organization.description }} -

-
+ {{# if organization.contact.person }} +
+

+ {{ organization.description }} +

+
+ {{/ if }}

From 35f4f1efa1ae3671760aa0745dea2fb02f5f400f Mon Sep 17 00:00:00 2001 From: illya Date: Tue, 7 Feb 2017 15:17:31 +0200 Subject: [PATCH 4/4] Fix typo --- organizations/client/profile/header/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/organizations/client/profile/header/header.html b/organizations/client/profile/header/header.html index de9d7e915a..a8f4e677aa 100644 --- a/organizations/client/profile/header/header.html +++ b/organizations/client/profile/header/header.html @@ -17,7 +17,7 @@

{{/ if }}

- {{# if organization.contact.person }} + {{# if organization.description }}

{{ organization.description }}