mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
Adding 'Available in Portal' badge to product card
This commit is contained in:
parent
72ca4ded76
commit
db1cc85882
@ -1,5 +1,5 @@
|
||||
<div class="gh-product-cards">
|
||||
{{#each this.products as |product|}}
|
||||
{{#each this.products as |product productIdx|}}
|
||||
<div class="gh-product-card">
|
||||
<button class="gh-product-card-editbutton gh-btn gh-btn-text gh-btn-link green" {{action "openEditProduct" product}}>
|
||||
<span>Edit</span>
|
||||
@ -11,6 +11,9 @@
|
||||
<p class="gh-product-card-description">
|
||||
{{product.description}}
|
||||
</p>
|
||||
{{#if (eq productIdx 0)}}
|
||||
<span class="gh-badge gh-badge-pink">Available in Portal</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="gh-product-card-block">
|
||||
<span class="gh-product-card-heading">Pricing</span>
|
||||
|
@ -62,7 +62,7 @@
|
||||
}
|
||||
|
||||
.gh-product-card-description {
|
||||
margin-top: 2px;
|
||||
margin: 2px 0 0;
|
||||
color: var(--midgrey);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user