mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
Added spinner for loading manually created subscription
This commit is contained in:
parent
f3e7cf6128
commit
70e57ae7c8
@ -107,11 +107,14 @@
|
||||
{{#unless this.products}}
|
||||
<div class="gh-main-section-content bordered">
|
||||
<div class="gh-cp-memberproduct-noproduct">
|
||||
{{#unless this.isCreatingComplimentary}}
|
||||
<div class="mb2">This member doesn't have subscriptions.</div>
|
||||
{{/unless}}
|
||||
|
||||
{{#unless this.member.isNew}}
|
||||
{{#if this.isAddComplimentaryAllowed}}
|
||||
{{#if this.isCreatingComplimentary}}
|
||||
Loading...
|
||||
<GhLoadingSpinner />
|
||||
{{else}}
|
||||
<button type="button" class="gh-btn gh-btn-text green gh-btn-icon gh-btn-addproduct" {{action "addCompedSubscription"}}>
|
||||
<span>{{svg-jar "add"}} Add complimentary subscription</span>
|
||||
|
@ -1648,6 +1648,7 @@ p.gh-members-import-errordetail:first-of-type {
|
||||
}
|
||||
|
||||
.gh-cp-memberproduct-noproduct {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@ -1656,6 +1657,10 @@ p.gh-members-import-errordetail:first-of-type {
|
||||
padding: 48px 0;
|
||||
}
|
||||
|
||||
.gh-cp-memberproduct-noproduct .gh-loading-content {
|
||||
padding-bottom: unset;
|
||||
}
|
||||
|
||||
.gh-btn-add-memberproduct[disabled],
|
||||
.gh-btn-add-memberproduct[disabled]:hover {
|
||||
background: var(--lightgrey-l1) !important;
|
||||
|
Loading…
Reference in New Issue
Block a user