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:
parent
258c9439a6
commit
c1cb738b52
1 changed files with 2 additions and 2 deletions
|
@ -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">
|
||||||
|
|
Loading…
Add table
Reference in a new issue