mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
Added cancellation reason to Members details
refs. https://github.com/TryGhost/Team/issues/780
This commit is contained in:
parent
ba47b710cb
commit
628a482c3a
@ -158,6 +158,9 @@
|
|||||||
<span class="gh-badge active">Active</span>
|
<span class="gh-badge active">Active</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
{{#if sub.cancellationReason}}
|
||||||
|
<div class="gh-memberproduct-cancelreason"><span class="fw6">Cancellation reason:</span> {{sub.cancellationReason}}</div>
|
||||||
|
{{/if}}
|
||||||
<div class="gh-memberproduct-created">Created on {{sub.startDate}}</div>
|
<div class="gh-memberproduct-created">Created on {{sub.startDate}}</div>
|
||||||
|
|
||||||
<span class="action-menu">
|
<span class="action-menu">
|
||||||
|
@ -52,6 +52,7 @@ export default class extends Component {
|
|||||||
...sub,
|
...sub,
|
||||||
startDate: sub.start_date ? moment(sub.start_date).format('D MMM YYYY') : '-',
|
startDate: sub.start_date ? moment(sub.start_date).format('D MMM YYYY') : '-',
|
||||||
validUntil: sub.current_period_end ? moment(sub.current_period_end).format('D MMM YYYY') : '-',
|
validUntil: sub.current_period_end ? moment(sub.current_period_end).format('D MMM YYYY') : '-',
|
||||||
|
cancellationReason: sub.cancellation_reason,
|
||||||
price: {
|
price: {
|
||||||
...sub.price,
|
...sub.price,
|
||||||
currencySymbol: getSymbol(sub.price.currency),
|
currencySymbol: getSymbol(sub.price.currency),
|
||||||
|
@ -1674,6 +1674,7 @@ p.gh-members-import-errordetail:first-of-type {
|
|||||||
|
|
||||||
.gh-memberproduct-created {
|
.gh-memberproduct-created {
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
|
color: var(--midgrey);
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-memberproduct-archived .gh-memberproduct-name {
|
.gh-memberproduct-archived .gh-memberproduct-name {
|
||||||
@ -1697,6 +1698,12 @@ p.gh-members-import-errordetail:first-of-type {
|
|||||||
padding-top: 12px;
|
padding-top: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gh-memberproduct-cancelreason {
|
||||||
|
line-height: 1.45em;
|
||||||
|
margin: 3px 0 5px;
|
||||||
|
max-width: 700px;
|
||||||
|
}
|
||||||
|
|
||||||
.gh-btn-addproduct svg path {
|
.gh-btn-addproduct svg path {
|
||||||
fill: var(--green);
|
fill: var(--green);
|
||||||
stroke: none !important;
|
stroke: none !important;
|
||||||
|
Loading…
Reference in New Issue
Block a user