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-09-08 11:23:59 +0300
committerdartcafe <github@dartcafe.de>2018-09-08 11:23:59 +0300
commit00721b6e994f0a3fcc892d303f55c420fa83d954 (patch)
tree044e949c9bc0f436afc2672d6b756b462d230752 /templates
parentbafb1b7e06a384c84b20fb62a1954ba813e2c89f (diff)
Style and translation fixes
Diffstat (limited to 'templates')
-rw-r--r--templates/goto.tmpl.php2
-rw-r--r--templates/main.tmpl.php9
2 files changed, 4 insertions, 7 deletions
diff --git a/templates/goto.tmpl.php b/templates/goto.tmpl.php
index 7a503cde..05bfef1c 100644
--- a/templates/goto.tmpl.php
+++ b/templates/goto.tmpl.php
@@ -107,7 +107,6 @@
$pollUrl = $urlGenerator->linkToRouteAbsolute('polls.page.goto_poll', ['hash' => $poll->getHash()]);
?>
-<div id="app">
<div id="app-content" class="<?php p($statusClass . ' ' . $pollTypeClass . ' ' . $maybe); ?>">
<div id="controls" class="controls">
<div id="breadcrump" class="breadcrump">
@@ -487,4 +486,3 @@
</div>
<form id="form_delete_poll" name="form_delete_poll" action="<?php p($urlGenerator->linkToRoute('polls.page.delete_poll')); ?>" method="POST"></form>
</div>
-</div>
diff --git a/templates/main.tmpl.php b/templates/main.tmpl.php
index 3ebf370b..228f282d 100644
--- a/templates/main.tmpl.php
+++ b/templates/main.tmpl.php
@@ -37,7 +37,6 @@
$polls = $_['polls'];
?>
-<div id="app">
<div id="app-content">
<div id="app-content-wrapper">
<div id="controls">
@@ -159,20 +158,20 @@
<li>
<a class="menuitem alt-tooltip copy-link has-tooltip action permanent" data-toggle="tooltip" data-clipboard-text="<?php p($pollUrl); ?>" title="<?php p($l->t('Click to get link')); ?>" href="#">
<span class="icon-clippy"></span>
- <span>Copy Link</span>
+ <span><?php p($l->t('Copy Link')); ?></span>
</a>
</li>
<?php if ($poll->getOwner() === $userId) : ?>
<li>
<a id="id_del_<?php p($poll->getId()); ?>" class="menuitem alt-tooltip delete-poll action permanent" data-value="<?php p($poll->getTitle()); ?>" href="#">
<span class="icon-delete"></span>
- <span>Delete poll</span>
+ <span><?php p($l->t('Delete poll')); ?></span>
</a>
</li>
<li>
<a id="id_edit_<?php p($poll->getId()); ?>" class="menuitem action permanent" href="<?php p($urlGenerator->linkToRoute('polls.page.edit_poll', ['hash' => $poll->getHash()])); ?>">
<span class="icon-rename"></span>
- <span>Edit Poll</span>
+ <span><?php p($l->t('Edit Poll')); ?></span>
</a>
</li>
<?php endif; ?>
@@ -207,7 +206,7 @@
<?php endif; ?>
</div>
</div>
-</div>
+
<?php