2016-08-20 23:28:39 +02:00
|
|
|
{{title model.title}}
|
|
|
|
|
2014-07-06 17:37:54 +02:00
|
|
|
<div id="poll">
|
2014-07-07 01:51:58 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-6 col-lg-5">
|
|
|
|
<div class="box meta-data">
|
2015-07-01 16:21:18 +02:00
|
|
|
<h2 class="title">{{model.title}}</h2>
|
|
|
|
<p class="description">{{model.description}}</p>
|
2017-08-13 20:32:23 +02:00
|
|
|
<p class="creationDate">{{t "poll.created-time" creationDate=(moment-format model.creationDate 'LLLL' locale=currentLocale)}}</p>
|
2014-07-07 01:51:58 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6 col-lg-5 col-lg-offset-2">
|
2016-07-27 21:48:15 +02:00
|
|
|
<div class="box poll-link">
|
2014-09-29 00:48:26 +02:00
|
|
|
<p>{{t "poll.share"}}</p>
|
2016-08-20 22:02:53 +02:00
|
|
|
<p class="link">
|
|
|
|
<a href="{{pollUrl}}">{{pollUrl}}</a>
|
|
|
|
{{#copy-button
|
|
|
|
clipboardText=pollUrl
|
|
|
|
classNames="btn btn-default"
|
|
|
|
success=(action 'linkAction' 'copied')
|
|
|
|
error=(action 'linkAction' 'selected')
|
|
|
|
}}
|
|
|
|
<span class="glyphicon glyphicon-copy"></span>
|
|
|
|
{{/copy-button}}
|
|
|
|
</p>
|
2014-07-07 01:51:58 +02:00
|
|
|
<p class="notice">
|
2014-09-29 00:48:26 +02:00
|
|
|
{{t "poll.share.notice"}}
|
2014-07-07 01:51:58 +02:00
|
|
|
</p>
|
|
|
|
</div>
|
2014-07-06 17:37:54 +02:00
|
|
|
</div>
|
2015-03-25 18:57:27 +01:00
|
|
|
</div>
|
2014-07-06 17:37:54 +02:00
|
|
|
|
2015-11-02 23:02:59 +01:00
|
|
|
<div class="box container-fluid">
|
|
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
|
|
{{#link-to "poll.participation" model tagName='li' activeClass='active' class='participation'}}
|
|
|
|
{{#link-to "poll.participation" model}}
|
2016-06-10 10:53:05 +02:00
|
|
|
{{t 'poll.tab-title.participation'}}
|
2015-11-02 23:02:59 +01:00
|
|
|
{{/link-to}}
|
|
|
|
{{/link-to}}
|
|
|
|
{{#link-to "poll.evaluation" model tagName='li' activeClass='active' class='evaluation'}}
|
|
|
|
{{#link-to "poll.evaluation" model}}
|
2016-06-10 10:53:05 +02:00
|
|
|
{{t 'poll.tab-title.evaluation'}}
|
2015-11-02 23:02:59 +01:00
|
|
|
{{/link-to}}
|
|
|
|
{{/link-to}}
|
|
|
|
</ul>
|
2014-07-06 17:37:54 +02:00
|
|
|
|
2015-11-02 23:02:59 +01:00
|
|
|
<div class="tab-content">
|
|
|
|
<div role="tabpanel" class="tab-pane active">
|
|
|
|
{{outlet}}
|
|
|
|
</div>
|
2015-04-02 21:23:06 +02:00
|
|
|
</div>
|
2014-07-07 01:51:58 +02:00
|
|
|
</div>
|
2014-10-28 03:27:54 +01:00
|
|
|
</div>
|
|
|
|
|
2016-05-24 01:07:14 +02:00
|
|
|
{{#bs-modal
|
|
|
|
title=(t "poll.modal.timezoneDiffers.title")
|
2016-05-26 13:17:47 +02:00
|
|
|
open=mustChooseTimezone
|
|
|
|
footer=false
|
|
|
|
closeButton=false
|
|
|
|
keyboard=false
|
|
|
|
autoClose=false
|
2016-08-12 13:00:18 +02:00
|
|
|
id='modal-choose-timezone'
|
2016-05-24 01:07:14 +02:00
|
|
|
}}
|
2016-08-12 13:00:18 +02:00
|
|
|
{{#bs-modal-body}}
|
2016-05-24 01:07:14 +02:00
|
|
|
<p>
|
|
|
|
{{t "poll.modal.timezoneDiffers.body"}}
|
|
|
|
</p>
|
|
|
|
{{/bs-modal-body}}
|
|
|
|
{{#bs-modal-footer as |footer|}}
|
|
|
|
{{#bs-button action=(action "useLocalTimezone") class="use-local-timezone"}}
|
|
|
|
{{t "poll.modal.timezoneDiffers.button.useLocalTimezone"}}
|
|
|
|
{{/bs-button}}
|
2016-05-26 13:17:47 +02:00
|
|
|
{{#bs-button action=(action (mut timezoneChoosen) true) classNames="use-poll-timezone"}}
|
2016-05-24 01:07:14 +02:00
|
|
|
{{t "poll.modal.timezoneDiffers.button.usePollTimezone"}}
|
|
|
|
{{/bs-button}}
|
|
|
|
{{/bs-modal-footer}}
|
|
|
|
{{/bs-modal}}
|