Added checks to see whether the package price exists, before
displaying it on the member detail package list. Did so as well
for the expire_date.date (even though that should never be blank).
Max-height for packages on member detail page changed 120 -> 240px
border: 1px solid #e1e1e1;
border-radius: 4px;
margin-bottom: 10px;
- max-height: 120px;
+ max-height: 240px;
overflow: hidden;
}
#glm-member-detail-packages-container .glm-member-db-package-info {
<h3 class="glm-member-db-package-title"><a href="{$siteBaseUrl}{$settings.canonical_package_page}/{$p.package_slug}/">{$p.title}</a></h3>
<div class="glm-member-db-package-desc">{$p.short_descr}</div>
<div class="details">
- <div><span class="title">Expires: </span><span class="data">{$p.expire_date.date}</span></div>
- <div><span class="title">Pricing: </span><span class="data">{$p.pricing}</span></div>
+ {if $p.expire_date.date}<div><span class="title">Expires: </span><span class="data">{$p.expire_date.date}</span></div>{/if}
+ {if $p.pricing}<div><span class="title">Pricing: </span><span class="data">{$p.pricing}</span></div>{/if}
</div>
</div>