2015-11-03 12:57:41 +01:00
|
|
|
<h2>
|
|
|
|
{{t "poll.evaluation.label"}}
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
<p class="participants">
|
2020-01-18 12:17:06 +01:00
|
|
|
{{t "poll.evaluation.participants" count=this.participantsCount}}
|
2015-11-03 12:57:41 +01:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p class="best-options">
|
2020-01-18 12:17:06 +01:00
|
|
|
{{#if @poll.isFindADate}}
|
2018-12-29 20:35:04 +01:00
|
|
|
{{t
|
|
|
|
"poll.evaluation.bestOption.label.findADate"
|
2020-01-18 12:17:06 +01:00
|
|
|
count=this.bestOptions.length
|
2018-12-29 20:35:04 +01:00
|
|
|
}}
|
2015-11-03 12:57:41 +01:00
|
|
|
{{else}}
|
2018-12-29 20:35:04 +01:00
|
|
|
{{t
|
|
|
|
"poll.evaluation.bestOption.label.makeAPoll"
|
2020-01-18 12:17:06 +01:00
|
|
|
count=this.bestOptions.length
|
2018-12-29 20:35:04 +01:00
|
|
|
}}
|
2015-11-03 12:57:41 +01:00
|
|
|
{{/if}}
|
|
|
|
|
2020-01-18 12:17:06 +01:00
|
|
|
{{#if this.multipleBestOptions}}
|
2015-11-03 12:57:41 +01:00
|
|
|
<ul>
|
2020-01-18 12:17:06 +01:00
|
|
|
{{#each this.bestOptions as |evaluationBestOption|}}
|
|
|
|
<li>
|
|
|
|
<PollEvaluationSummaryOption
|
|
|
|
@currentLocale={{this.currentLocale}}
|
|
|
|
@evaluationBestOption={{evaluationBestOption}}
|
|
|
|
@isFindADate={{@poll.isFindADate}}
|
|
|
|
@momentLongDayFormat={{@momentLongDayFormat}}
|
|
|
|
@timezone={{@timezone}}
|
|
|
|
/>
|
|
|
|
</li>
|
2015-11-03 12:57:41 +01:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
{{else}}
|
2020-01-08 15:58:10 +01:00
|
|
|
<PollEvaluationSummaryOption
|
2020-01-18 12:17:06 +01:00
|
|
|
@currentLocale={{this.currentLocale}}
|
|
|
|
@evaluationBestOption={{this.bestOptions.firstObject}}
|
|
|
|
@isFindADate={{@poll.isFindADate}}
|
|
|
|
@momentLongDayFormat={{@momentLongDayFormat}}
|
|
|
|
@timezone={{@timezone}}
|
2020-01-08 15:58:10 +01:00
|
|
|
/>
|
2015-11-03 12:57:41 +01:00
|
|
|
{{/if}}
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p class="last-participation">
|
2018-12-29 20:35:04 +01:00
|
|
|
{{t
|
|
|
|
"poll.evaluation.lastParticipation"
|
2020-01-18 12:17:06 +01:00
|
|
|
ago=(moment-from-now this.lastParticipationAt locale=this.currentLocale timezone=@timezone)
|
2017-08-11 16:39:36 +02:00
|
|
|
}}
|
2015-11-03 12:57:41 +01:00
|
|
|
</p>
|