From 3b9d13eae85f41b8dce35a9bd7ea42c2d9972525 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 13 Apr 2017 16:19:55 -0400 Subject: [PATCH] detail view for members no empty rows Ensuring that the detail viewfile for members doesn't produce empty rows, while still allowing it to create the msrp slash-class. The extra rows were throwing off the nth-row styles, and really had no business existing in the first place. --- views/front/fields/detail.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/views/front/fields/detail.html b/views/front/fields/detail.html index 3f6049e..e6677ca 100644 --- a/views/front/fields/detail.html +++ b/views/front/fields/detail.html @@ -3,14 +3,15 @@ {foreach $field_values as $key=>$value} {if $value.slash === true }
- {else} +
{$value.nice}
+
{$value.data}
+
+ {elseif $value.data !== 'Yes' && $value.data !== 'No'}
+
{$value.nice}
+
{$value.data}
+
{/if} - {if $value.data !== 'Yes' && $value.data !== 'No'} -
{$value.nice}
-
{$value.data}
- {/if} - {/foreach} -- 2.17.1