Ghost/ghost/admin/app/templates/settings/analytics.hbs
Rishabh 9503ca1c7b Wired new analytics settings for tracking email and sources
refs https://github.com/TryGhost/Team/issues/2168

- wires new source tracking setting for members to UI
- splits the new analytics page settings to its own component, cleaned up the files and wired up the settings upstream
2022-10-27 17:29:33 +05:30

31 lines
961 B
Handlebars

<section class="gh-canvas">
<GhCanvasHeader class="gh-canvas-header">
<div class="flex flex-column">
<div class="gh-canvas-breadcrumb">
<LinkTo @route="settings">
Settings
</LinkTo>
{{svg-jar "arrow-right-small"}} Analytics
</div>
<h2 class="gh-canvas-title" data-test-screen-title>
Analytics
</h2>
</div>
<section class="view-actions">
<GhTaskButton
@buttonText="Save"
@task={{this.saveSettings}}
@successText="Saved"
@runningText="Saving"
{{on-key "cmd+s"}}
@class="gh-btn gh-btn-primary gh-btn-icon"
data-test-button="save-analytics-settings"
/>
</section>
</GhCanvasHeader>
<div>
<Settings::Analytics />
</div>
</section>
{{outlet}}