From c566c7f7a0c0d43d1481fdfde95400255c261789 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 8 Aug 2018 16:23:58 -0400 Subject: [PATCH] Adding group name output the name of each group for custom fields. --- glm-member-db-contacts/views/front/contacts/list.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/glm-member-db-contacts/views/front/contacts/list.html b/glm-member-db-contacts/views/front/contacts/list.html index b170296..7267889 100644 --- a/glm-member-db-contacts/views/front/contacts/list.html +++ b/glm-member-db-contacts/views/front/contacts/list.html @@ -136,9 +136,9 @@ and open the template in the editor. {if $contact.url}
Website {$contact.url}
{/if}
- - {if $contact.org - }
+ + {if $contact.org} +
Company Name {$contact.org}
@@ -448,7 +448,8 @@ and open the template in the editor.
- {foreach $customFieldGroups as $customFields} + {foreach $customFieldGroups as $groupName => $customFields} + {$groupName} {if !empty($customFields[0].field_data)} {foreach $customFields as $field} {if $field.field_data} -- 2.17.1