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>
|
2015-11-23 13:32:40 +01:00
|
|
|
<p class="creationDate">{{t "poll.created-time" creationDate=(moment-format model.creationDate)}}</p>
|
2014-07-07 01:51:58 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6 col-lg-5 col-lg-offset-2">
|
|
|
|
<div class="box share-link">
|
2014-09-29 00:48:26 +02:00
|
|
|
<p>{{t "poll.share"}}</p>
|
2015-11-22 14:28:32 +01:00
|
|
|
<p class="link"><a href="{{pollUrl}}">{{pollUrl}}</a></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}}
|
|
|
|
participation
|
|
|
|
{{/link-to}}
|
|
|
|
{{/link-to}}
|
|
|
|
{{#link-to "poll.evaluation" model tagName='li' activeClass='active' class='evaluation'}}
|
|
|
|
{{#link-to "poll.evaluation" model}}
|
|
|
|
evaluation
|
|
|
|
{{/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>
|
|
|
|
|
|
|
|
<div class="modal fade" id="timezoneDiffers">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
|
|
|
<h4 class="modal-title">
|
|
|
|
{{t "poll.modal.timezoneDiffers.title"}}
|
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<p>
|
|
|
|
{{t "poll.modal.timezoneDiffers.body"}}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2015-08-01 23:54:07 +02:00
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal" {{action "useLocalTimezone" target="view"}} class="use-local-timezone">
|
2014-10-28 03:27:54 +01:00
|
|
|
{{t "poll.modal.timezoneDiffers.button.useLocalTimezone"}}
|
|
|
|
</button>
|
2015-08-01 23:54:07 +02:00
|
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal" class="use-poll-timezone">
|
2014-10-28 03:27:54 +01:00
|
|
|
{{t "poll.modal.timezoneDiffers.button.usePollTimezone"}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-24 18:31:21 +01:00
|
|
|
</div>
|