mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Added signup & conversion counts to post index page
refs https://github.com/TryGhost/Team/issues/1818 This is all hidden behind the alpha flag, and is missing the links to filtered members as that has not been implemented yet.
This commit is contained in:
parent
20726c8fc2
commit
dd0097e68f
3 changed files with 17 additions and 0 deletions
|
@ -77,6 +77,18 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if this.feature.memberAttribution}}
|
||||||
|
<a href={{@post.url}} class="permalink gh-list-data gh-post-list-status" target="_blank" rel="noopener noreferrer">
|
||||||
|
{{@post.count.signups}}
|
||||||
|
</a>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if this.feature.memberAttribution}}
|
||||||
|
<a href={{@post.url}} class="permalink gh-list-data gh-post-list-status" target="_blank" rel="noopener noreferrer">
|
||||||
|
{{@post.count.conversions}}
|
||||||
|
</a>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
{{#unless @hideStatusColumn }}
|
{{#unless @hideStatusColumn }}
|
||||||
{{#if (and this.session.user.isContributor @post.isPublished)}}
|
{{#if (and this.session.user.isContributor @post.isPublished)}}
|
||||||
<a href={{@post.url}} class="permalink gh-list-data gh-post-list-status" target="_blank" rel="noopener noreferrer">
|
<a href={{@post.url}} class="permalink gh-list-data gh-post-list-status" target="_blank" rel="noopener noreferrer">
|
||||||
|
|
|
@ -75,6 +75,7 @@ export default Model.extend(Comparable, ValidationEngine, {
|
||||||
displayName: 'post',
|
displayName: 'post',
|
||||||
validationType: 'post',
|
validationType: 'post',
|
||||||
|
|
||||||
|
count: attr(),
|
||||||
createdAtUTC: attr('moment-utc'),
|
createdAtUTC: attr('moment-utc'),
|
||||||
excerpt: attr('string'),
|
excerpt: attr('string'),
|
||||||
customExcerpt: attr('string'),
|
customExcerpt: attr('string'),
|
||||||
|
|
|
@ -35,6 +35,10 @@
|
||||||
<div class="gh-list-header gh-posts-sends-header">Sends</div>
|
<div class="gh-list-header gh-posts-sends-header">Sends</div>
|
||||||
<div class="gh-list-header gh-posts-opens-header">Opens</div>
|
<div class="gh-list-header gh-posts-opens-header">Opens</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{#if this.feature.memberAttribution}}
|
||||||
|
<div class="gh-list-header gh-posts-opens-header">Signups</div>
|
||||||
|
<div class="gh-list-header gh-posts-opens-header">Conversions</div>
|
||||||
|
{{/if}}
|
||||||
<div class="gh-list-header gh-posts-status-header">Status</div>
|
<div class="gh-list-header gh-posts-status-header">Status</div>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue