Added newsletter links editing explanation text

refs https://github.com/TryGhost/Team/issues/2067
This commit is contained in:
Djordje Vlaisavljevic 2022-10-18 14:30:45 +02:00 committed by Rishabh Garg
parent 6b46f3f295
commit e3c03bb754
2 changed files with 15 additions and 0 deletions

View File

@ -4,9 +4,15 @@
<div class="gh-post-analytics-box column">
<div class="gh-links-list">
<div class="gh-links-list-header">
{{#if (and this.showPagination (feature "fixNewsletterLinks")) }}
<div class="gh-links-pagination-progress">
Showing {{this.startOffset}}-{{this.endOffset}} of {{this.totalLinks}}
</div>
{{else}}
<div class="gh-links-list-title">
Link
</div>
{{/if}}
<div class="gh-links-list-title">
No. of Members
</div>
@ -52,9 +58,13 @@
{{/each}}
{{#if this.showPagination }}
<div class="gh-links-pagination">
{{#if (feature "fixNewsletterLinks")}}
<span class="gh-links-info">&uarr; Sent a broken link? You can update it!</span>
{{else}}
<div class="gh-links-pagination-progress">
Showing {{this.startOffset}}-{{this.endOffset}} of {{this.totalLinks}}
</div>
{{/if}}
<div class="gh-links-pagination-actions">
<button type="button" class="gh-links-pagination-action gh-links-pagination-prev {{if this.disablePreviousPage "gh-links-pagination-disabled"}}" {{on "click" this.openPreviousPage}} disabled={{this.disablePreviousPage}}>
{{svg-jar "arrow-left-pagination"}}

View File

@ -1102,6 +1102,11 @@ a.gh-post-list-signups.active:hover > span, a.gh-post-list-conversions.active:ho
padding-right: 2px;
}
.gh-links-info {
color: var(--green);
font-weight: 500;
}
.gh-links-pagination {
display: flex;
justify-content: space-between;