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>2017-10-09 22:27:53 +0300
committerdartcafe <github@dartcafe.de>2017-10-09 22:27:53 +0300
commit87115a7e8e6cd2dd35d21ea80d3c925004ef74a4 (patch)
tree78a418168c553c5097c5cb9d9bd23db4684b7b08 /templates
parentc5486ff5893ddc0290da69cf8e5319d761070387 (diff)
Cosmetics
Diffstat (limited to 'templates')
-rw-r--r--templates/main.tmpl.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/main.tmpl.php b/templates/main.tmpl.php
index dfbd33db..43dff559 100644
--- a/templates/main.tmpl.php
+++ b/templates/main.tmpl.php
@@ -48,7 +48,7 @@
</div>
</div>
<div class="wrapper group-2">
- <div class="column principal"> <?php p($l->t('By')); ?></div>
+ <div class="column owner"> <?php p($l->t('By')); ?></div>
<div class="wrapper group-2-1">
<div class="column access"> <?php p($l->t('Access')); ?></div>
<div class="column created"> <?php p($l->t('Created')); ?></div>
@@ -66,7 +66,7 @@
if (!userHasAccess($poll, $userId)) continue;
// direct url to poll
$pollUrl = $urlGenerator->linkToRouteAbsolute('polls.page.goto_poll', array('hash' => $poll->getHash()));
- $principal = $poll->getOwner();
+ $owner = $poll->getOwner();
$expiry_style = '';
if ($poll->getType() == '0') {
@@ -83,8 +83,8 @@
$commented_title = 'You did not comment';
$commented_count = count($comments);
- if($principal === $userId) {
- $principal = $l->t('Yourself');
+ if($owner === $userId) {
+ $owner = $l->t('Yourself');
}
if ($poll->getExpire() !== null) {
@@ -159,9 +159,9 @@
</div>
</div>
<div class="wrapper group-2">
- <div class="column principal">
+ <div class="column owner">
<div class="avatardiv" title="<?php p($poll->getOwner()); ?>" style="height: 32px; width: 32px;"></div>
- <div class="name-cell"><?php p($principal); ?></div>
+ <div class="name-cell"><?php p($owner); ?></div>
</div>
<div class="wrapper group-2-1">
<div class="column access"><?php p($l->t($poll->getAccess())); ?></div>