From 9eb38c5c97bd19607db7c6e92771364f2ddef054 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Fri, 29 Sep 2017 16:15:41 -0400 Subject: [PATCH] Contact list indentation fix in code --- .../views/front/contacts/list.html | 120 +++++++++--------- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/glm-member-db-contacts/views/front/contacts/list.html b/glm-member-db-contacts/views/front/contacts/list.html index ccc5394..8c1be36 100644 --- a/glm-member-db-contacts/views/front/contacts/list.html +++ b/glm-member-db-contacts/views/front/contacts/list.html @@ -74,72 +74,72 @@ and open the template in the editor. {if $contact.active.value == 1} -
-
- {if $contact.image} -
- {else} -
- {/if} - -

- {$contact.lname}, {$contact.fname} -

-
-
- {if $contact.primary_contact.value == true} - - {if $contact.title}
{$contact.title}
{/if} - {if $contacts_with_subs !== false} - {foreach $contacts_with_subs as $contact_with_subs} - - {foreach $contact_with_subs["subs"] as $contact_sub} -
{$contact_sub["title"]}{$contact_sub["fname"]}
- {/foreach} +
+
+ {if $contact.image} +
+ {else} +
+ {/if} + +

+ {$contact.lname}, {$contact.fname} +

+
+
+ {if $contact.primary_contact.value == true} - {/foreach} - {/if} - {/if} - {if $contact.ref_type.name} -
- {if $contact.ref_dest_name} - {$contact.ref_dest_name} - {/if} + {if $contact.title}
{$contact.title}
{/if} + {if $contacts_with_subs !== false} + {foreach $contacts_with_subs as $contact_with_subs} + + {foreach $contact_with_subs["subs"] as $contact_sub} +
{$contact_sub["title"]}{$contact_sub["fname"]}
+ {/foreach} + + {/foreach} + {/if} + {/if} + {if $contact.ref_type.name} +
+ {if $contact.ref_dest_name} + {$contact.ref_dest_name} + {/if} +
+ {/if} + {if $contact.addr1}
{$contact.addr1}
{/if} + {if $contact.addr2}
{$contact.addr2}
{/if} + {if $contact.zip or $contact.city.name or $contact.state.name} +
+ {if $contact.city.name}{$contact.city.name},{/if} + {if $contact.state.name}{$contact.state.name}{/if} + {if $contact.zip}{$contact.zip}{/if} +
{/if} + {if $contact.county}
{$contact.county} County
{/if} + +
+
+ {if $contact.office_phone}
Work: {$contact.office_phone}
{/if} + {if $contact.home_phone}
Home: {$contact.home_phone}
{/if} + {if $contact.mobile_phone}
Mobile: {$contact.mobile_phone}
{/if} + {if $contact.alt_phone}
Alternate: {$contact.alt_phone}
{/if} + {if $contact.fax}
Fax: {$contact.fax}
{/if} + {if $contact.email}{/if} + {if $contact.alt_email}{/if} + {if $contact.url}{/if} +
+
+ {if $contact.org}
Organization: {$contact.org}
{/if} + {if $contact.descr}
Position & Responsibilities: {$contact.descr}
{/if} +
- {/if} - {if $contact.addr1}
{$contact.addr1}
{/if} - {if $contact.addr2}
{$contact.addr2}
{/if} - {if $contact.zip or $contact.city.name or $contact.state.name} -
- {if $contact.city.name}{$contact.city.name},{/if} - {if $contact.state.name}{$contact.state.name}{/if} - {if $contact.zip}{$contact.zip}{/if} -
{/if} - {if $contact.county}
{$contact.county} County
{/if} -
-
- {if $contact.office_phone}
Work: {$contact.office_phone}
{/if} - {if $contact.home_phone}
Home: {$contact.home_phone}
{/if} - {if $contact.mobile_phone}
Mobile: {$contact.mobile_phone}
{/if} - {if $contact.alt_phone}
Alternate: {$contact.alt_phone}
{/if} - {if $contact.fax}
Fax: {$contact.fax}
{/if} - {if $contact.email}{/if} - {if $contact.alt_email}{/if} - {if $contact.url}{/if} -
-
- {if $contact.org}
Organization: {$contact.org}
{/if} - {if $contact.descr}
Position & Responsibilities: {$contact.descr}
{/if} + +
+
- -
- -
-
-
{/if} {/foreach} {else} -- 2.17.1