diff options
author | dartcafe <github@dartcafe.de> | 2017-11-05 18:58:55 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2017-11-05 18:58:55 +0300 |
commit | b18b31a7d5ebd1aebd8d03b1577abee86dd1f8c6 (patch) | |
tree | 9cdff789b7576a87747aa52bcc7ff3f272fe08c6 /templates | |
parent | 5fd9b3a2c3b9b37e2ee45b7de1a1a3aae5c4b6c8 (diff) |
Eliminated unvoted and some css fixes
Diffstat (limited to 'templates')
-rw-r--r-- | templates/goto.tmpl.php | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/templates/goto.tmpl.php b/templates/goto.tmpl.php index d73bb694..e9237873 100644 --- a/templates/goto.tmpl.php +++ b/templates/goto.tmpl.php @@ -88,7 +88,7 @@ $pollUrl = $urlGenerator->linkToRouteAbsolute('polls.page.goto_poll', ['hash' => $poll->getHash()]); ?> -<div id="app"> +<div id="app-disabled"> <div id="app-content" class="column <?php p($statusClass . ' ' . $pollTypeClass); ?>"> <div id="controls" class="controls row"> <div id="breadcrump" class="breadcrump row"> @@ -98,16 +98,11 @@ <img class="svg" src="<?php print_unescaped(OCP\image_path("core", "places/home.svg")); ?>"" alt="Home"> </a> </div> + <?php endif; ?> <div class="crumb svg last"> <span><?php p($poll->getTitle()); ?></span> </div> - <?php endif; ?> - <?php if (!User::isLoggedIn()) : ?> - <div class="col-100"> - <h2><?php p($poll->getTitle()); ?></h2> - </div> - <?php endif; ?> </div> @@ -223,7 +218,7 @@ $pollId = "voteid_" . $dt->getId(); } // look what user voted for this dts - $class = 'column poll-cell unvoted'; + $class = 'column poll-cell no'; foreach ($others[$usr] as $vote) { $voteVal = null; if ($poll->getType() == '0') { @@ -288,7 +283,7 @@ $pollId = "voteid_" . $dt->getId(); } // see if user already has data for this event - $class = 'unvoted'; + $class = 'no'; $activeClass = 'poll-cell active cl_click'; if (isset($userVoted)) { foreach ($userVoted as $obj) { |