bb160cc503
- Drops floatthead and additional scrollbar - Makes header and first column sticky - Refactors code for readability Sticky header is only working in Firefox. Chrome and Edge does not support `position: sticky` for `<thead>`. Haven't tested Safari.
52 lines
1.2 KiB
Handlebars
52 lines
1.2 KiB
Handlebars
<h2>
|
|
{{t "poll.evaluation.label"}}
|
|
</h2>
|
|
|
|
<p class="participants">
|
|
{{t "poll.evaluation.participants" count=participantsCount}}
|
|
</p>
|
|
|
|
<p class="best-options">
|
|
{{#if poll.isFindADate}}
|
|
{{t
|
|
"poll.evaluation.bestOption.label.findADate"
|
|
count=bestOptions.length
|
|
}}
|
|
{{else}}
|
|
{{t
|
|
"poll.evaluation.bestOption.label.makeAPoll"
|
|
count=bestOptions.length
|
|
}}
|
|
{{/if}}
|
|
|
|
{{#if multipleBestOptions}}
|
|
<ul>
|
|
{{#each bestOptions as |evaluationBestOption|}}
|
|
{{poll-evaluation-summary-option
|
|
currentLocale=currentLocale
|
|
evaluationBestOption=evaluationBestOption
|
|
isFindADate=poll.isFindADate
|
|
momentLongDayFormat=momentLongDayFormat
|
|
tagName="li"
|
|
timezone=timezone
|
|
}}
|
|
{{/each}}
|
|
</ul>
|
|
{{else}}
|
|
{{poll-evaluation-summary-option
|
|
currentLocale=currentLocale
|
|
evaluationBestOption=bestOptions.firstObject
|
|
isFindADate=poll.isFindADate
|
|
momentLongDayFormat=momentLongDayFormat
|
|
tagName="span"
|
|
timezone=timezone
|
|
}}
|
|
{{/if}}
|
|
</p>
|
|
|
|
<p class="last-participation">
|
|
{{t
|
|
"poll.evaluation.lastParticipation"
|
|
ago=(moment-from-now lastParticipationAt locale=currentLocale timezone=timezone)
|
|
}}
|
|
</p>
|