Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2018-11-02 17:03:47 +0300
committerdartcafe <github@dartcafe.de>2018-11-02 17:03:47 +0300
commit5513e9d23a5bd67a4e901e5ea9afe061507d3a23 (patch)
tree77db7384941929fdbac6da8aea54833cd8cbaa46 /templates
parent641fc46c514b257d2a549f71648a1282b740225e (diff)
parent12ab21afcf62c2dde512c8ab5bd9cbe951060262 (diff)
Merge branch 'develop-0.9' into adminAccess
Diffstat (limited to 'templates')
-rw-r--r--templates/goto.tmpl.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/templates/goto.tmpl.php b/templates/goto.tmpl.php
index db654191..197156e3 100644
--- a/templates/goto.tmpl.php
+++ b/templates/goto.tmpl.php
@@ -32,7 +32,7 @@
if (!User::isLoggedIn()) {
Util::addStyle('polls', 'public');
}
-
+
Util::addScript('polls', 'app');
Util::addScript('polls', 'vote');
@@ -111,7 +111,7 @@
<div id="app-content" class="<?php p($statusClass . ' ' . $pollTypeClass . ' ' . $maybe); ?>">
<div id="controls" class="controls">
-
+
<div id="breadcrump" class="breadcrump">
<?php if (User::isLoggedIn()) : ?>
@@ -146,7 +146,7 @@
</span>
<?php if ($expired) { print_unescaped('<span class="' . $statusClass . '">' . $l->t('The poll expired on %s. Voting is disabled, but you can still comment.', array(date('d.m.Y H:i', strtotime($poll->getExpire())))) . '</span>'); }?>
</div>
-
+
<div class="table">
<ul class="flex-row header" >
<?php
@@ -178,7 +178,7 @@
?>
</li>
</ul>
-
+
<ul class="flex-column table-body">
<?php
if ($votes !== null) {
@@ -289,12 +289,12 @@
}
}
}
-
+
if ($class === 'unvoted') {
$dataUnvoted = $l->t('New');
$updatedPoll = true;
}
-
+
print_unescaped('<li id="voteid_' . $optionElement->getId() . '" class="flex-column active poll-cell ' . $class . '" data-value="' . $optionElement->getPollOptionText() . '" data-unvoted="' . $dataUnvoted . '"></li>');
$i_tot++;
@@ -311,7 +311,7 @@
<p> <?php p($l->t('This poll was updated since your last visit. Please check your votes.')); ?></p>
</div>
<?php endif; ?>
-
+
<div class="submitPoll flex-row">
<div>
<form class="finish_vote" name="finish_vote" action="<?php p($urlGenerator->linkToRoute('polls.page.insert_vote')); ?>" method="POST">
@@ -336,7 +336,7 @@
</div>
</div>
-
+
<div id="app-sidebar" class="detailsView scroll-container disappear">
<div class="close flex-row">
<a id="closeDetails" class="close icon-close has-tooltip-bottom" title="<?php p($l->t('Close details')); ?>" href="#" alt="<?php $l->t('Close'); ?>"></a>
@@ -411,17 +411,17 @@
</p>
</div>
<?php endif; ?>
-
+
<ul class="tabHeaders">
<li class="tabHeader selected" data-tabid="commentsTabView" data-tabindex="0">
<a href="#"><?php p($l->t('Comments')); ?></a>
</li>
</ul>
-
+
<div class="tabsContainer">
<div id="commentsTabView" class="tab commentsTabView">
<div class="newCommentRow comment new-comment">
-
+
<?php if (User::isLoggedIn()) : ?>
<div class="authorRow user-cell flex-row">
<div class="avatar has-tooltip" title="<?php p($userId)?>"></div>
@@ -497,5 +497,5 @@
</div>
</div>
</div>
-
+
<form id="form_delete_poll" name="form_delete_poll" action="<?php p($urlGenerator->linkToRoute('polls.page.delete_poll')); ?>" method="POST"></form>