0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Display Portal badge on product card condition

This commit is contained in:
Peter Zimon 2021-06-04 15:36:18 +02:00
parent 258c9439a6
commit c1cb738b52

View file

@ -12,8 +12,8 @@
<p class="gh-product-card-description"> <p class="gh-product-card-description">
{{product.description}} {{product.description}}
</p> </p>
{{#if (eq productIdx 0)}} {{#if (and (eq productIdx 0) (not (eq products.length 1)))}}
<span class="gh-badge gh-badge-green">Available in Portal</span> <span class="gh-badge gh-badge-green">Available in Portal</span>
{{/if}} {{/if}}
</div> </div>
<div class="gh-product-card-block"> <div class="gh-product-card-block">