mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +03:00
95c3a68c34
closes TryGhost/Team#2329 - Replace 'Received' on 'Sent' in member's filter - Moved links for feedback analytics from chart to table
47 lines
1.5 KiB
Handlebars
47 lines
1.5 KiB
Handlebars
<div
|
|
class="gh-feedback-events-feed"
|
|
{{on "mouseleave" this.onMouseleave}}
|
|
>
|
|
<div class="gh-feedback-events-feed-container">
|
|
<EmberChart
|
|
@type='doughnut'
|
|
@data={{this.chartData}}
|
|
@options={{this.chartOptions}}
|
|
@height={{220}}
|
|
@width={{220}}
|
|
/>
|
|
</div>
|
|
|
|
<div
|
|
class="gh-feedback-events-tooltip"
|
|
id="gh-feedback-events-tooltip"
|
|
{{did-insert this.onTooltipInsert}}
|
|
>
|
|
<div>
|
|
<div class="gh-feedback-events-tooltip-body">
|
|
<span
|
|
class="gh-feedback-events-tooltip-badge"
|
|
style={{html-safe (concat "background-color: " this.tooltipData.color)}}
|
|
></span>
|
|
<span class="gh-feedback-events-tooltip-info">{{this.tooltipData.value}}</span>
|
|
<span>{{this.tooltipData.percent}}%</span>
|
|
</div>
|
|
|
|
<span class="gh-feedback-events-tooltip-metric">{{this.tooltipData.label}}</span>
|
|
</div>
|
|
|
|
{{#if (and this.tooltipData.href (not (feature "suppressionList")))}}
|
|
<div class="gh-feedback-events-tooltip-footer">
|
|
<LinkTo
|
|
class="gh-post-activity-feed-pagination-link gh-post-activity-chart-link"
|
|
@route="members"
|
|
@query={{this.tooltipData.href}}
|
|
>
|
|
{{svg-jar "filter"}}
|
|
<span>See members</span>
|
|
</LinkTo>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|