Adjusting the comma spaces in the search term listing post-search
authorLaury GvR <laury@gaslightmedia.com>
Fri, 28 Jul 2017 17:43:07 +0000 (13:43 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 28 Jul 2017 17:43:07 +0000 (13:43 -0400)
glm-member-db/views/front/members/list.html

index 6cdd15d..812d3ea 100644 (file)
@@ -21,14 +21,11 @@ Search Terms:
     {elseif $key === 'categories'}
         {foreach $value as $index=>$id}
           {if $index == 0 && $id}
-              {$searchParams->destinations->{$id}->name}{if $termCounter > 0}, {/if}
-              {$termCounter = $termCounter + 1}
+            <span class="trail-search-term">{if $termCounter > 0}, {/if}{$searchParams->destinations->{$id}->name}</span>{$termCounter = $termCounter + 1}
           {else if $index == 1 && $id}
-               {$searchParams->activities->{$id}->name}{if $termCounter > 0}, {/if}
-               {$termCounter = $termCounter + 1}
+            <span class="trail-search-term">{if $termCounter > 0}, {/if}{$searchParams->activities->{$id}->name}</span>{$termCounter = $termCounter + 1}
           {else if $index == 2 && $id}
-               {$searchParams->parks->{$id}->name}{if $termCounter > 0}, {/if}
-               {$termCounter = $termCounter + 1}
+            <span class="trail-search-term">{if $termCounter > 0}, {/if}{$searchParams->parks->{$id}->name}</span>{$termCounter = $termCounter + 1}
           {/if}
         {/foreach}
     {/if}