Removed signup and conversion stats from page list

Refs https://www.notion.so/ghost/Remove-stats-from-pages-3f8d6eaf4b734c46a84b910b1a76e972
This commit is contained in:
Sanne de Vries 2023-01-09 12:18:32 +01:00
parent edbc1a5839
commit dd93422f28

View File

@ -135,15 +135,6 @@
opened opened
</span> </span>
</LinkTo> </LinkTo>
{{else if (and @post.isPage @post.showAttributionAnalytics) }}
<LinkTo @route="members" @query={{hash filterParam=(concat "signup:[" @post.id "]") }} class="permalink gh-list-data gh-post-list-metrics">
<span class="gh-content-email-stats-value">
{{@post.count.signups}}
</span>
<span class="gh-content-email-stats">
signups
</span>
</LinkTo>
{{else}} {{else}}
<LinkTo @route="editor.edit" @models={{array this.post.displayName this.post.id}} class="permalink gh-list-data"> <LinkTo @route="editor.edit" @models={{array this.post.displayName this.post.id}} class="permalink gh-list-data">
{{!-- Empty on purpose --}} {{!-- Empty on purpose --}}
@ -164,15 +155,6 @@
clicked clicked
</span> </span>
</LinkTo> </LinkTo>
{{else if (and @post.isPage @post.showPaidAttributionAnalytics) }}
<LinkTo @route="members" @query={{hash filterParam=(concat "conversion:[" @post.id "]") }} class="permalink gh-list-data gh-post-list-metrics">
<span class="gh-content-email-stats-value">
{{@post.count.paid_conversions}}
</span>
<span class="gh-content-email-stats">
conversions
</span>
</LinkTo>
{{else}} {{else}}
{{#if @post.showEmailOpenAnalytics }} {{#if @post.showEmailOpenAnalytics }}
<LinkTo @route="members" @query={{hash filterParam=(concat "opened_emails.post_id:[" @post.id "]") }} class="permalink gh-list-data gh-post-list-metrics"> <LinkTo @route="members" @query={{hash filterParam=(concat "opened_emails.post_id:[" @post.id "]") }} class="permalink gh-list-data gh-post-list-metrics">