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:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-08-06 10:33:37 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-08-06 10:33:37 +0300
commit9b96615675698138e2c8082341bacc839bbe54db (patch)
treeb077a9188bf2668cb53dd3781c7bd5405f83f5ea /templates
parent6778063536136ce42ee7374a8e26592fab7b27d8 (diff)
14 compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/main.php30
1 files changed, 12 insertions, 18 deletions
diff --git a/templates/main.php b/templates/main.php
index cb6c551..4213abd 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -17,24 +17,18 @@ style('announcementcenter', [
]);
?>
-<div id="app" class="announcementcenter" data-is-admin="<?php p(!empty($_['isAdmin']) ? 1 : 0); ?>">
- <div id="app-content">
- <div id="app-sidebar" class="disappear detailsView scroll-container">
- <div id="commentsTabView" class="tab">
+<div id="app-content" data-is-admin="<?php p(!empty($_['isAdmin']) ? 1 : 0); ?>">
+ <?php if ($_['isAdmin']) {
+ print_unescaped($this->inc('part.add'));
+ } ?>
- </div>
- </div>
-
- <div id="app-content-wrapper">
- <?php if ($_['isAdmin']) {
- print_unescaped($this->inc('part.add'));
- } ?>
-
- <div id="emptycontent" class="<?php if ($_['isAdmin']): ?>emptycontent-admin <?php endif; ?>hidden">
- <div class="icon-announcement"></div>
- <h2><?php p($l->t('No Announcements')); ?></h2>
- <p><?php p($l->t('There are currently no announcements…')); ?></p>
- </div>
- </div>
+ <div id="emptycontent" class="<?php if ($_['isAdmin']): ?>emptycontent-admin <?php endif; ?>hidden">
+ <div class="icon-announcement"></div>
+ <h2><?php p($l->t('No Announcements')); ?></h2>
+ <p><?php p($l->t('There are currently no announcements…')); ?></p>
</div>
</div>
+
+<div id="app-sidebar" class="disappear detailsView scroll-container">
+ <div id="commentsTabView" class="tab"></div>
+</div>