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

github.com/nextcloud/announcementcenter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-07-14 17:36:11 +0300
committerJoas Schilling <coding@schilljs.com>2016-07-14 17:43:40 +0300
commit4171b4319fe563fabaadf7aadc3d4168b2e18e43 (patch)
tree7803087b9847c3119f3b8337c9c04c6bbfc759bb /templates
parentd635f79a91175d61fe40db0c80931a21cf2981f6 (diff)
Allow non-admin announcements
Diffstat (limited to 'templates')
-rw-r--r--templates/main.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/main.php b/templates/main.php
index e623362..ab2b879 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -7,7 +7,7 @@ script('announcementcenter', 'script');
style('announcementcenter', 'style');
?>
-<div id="app" class="announcementcenter">
+<div id="app" class="announcementcenter" data-is-admin="<?php if ($_['is_admin']) { p(1); } else p(0); ?>">
<div id="app-content">
<div id="app-content-wrapper">
<?php if ($_['is_admin']) {