aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar
diff options
context:
space:
mode:
authorElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2022-06-22 16:24:37 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2022-06-22 16:24:37 +0000
commit7ae6beeff40b256829a72166943cc823a8e03421 (patch)
tree258e9594899dc7257a86c79b257e60f4f1d27252 /templates/sidebar
parentdc2595597b23d050d44278cf5a43166e1182d81d (diff)
fix fallout from ClipboardWidget cleanup, fixes #1133
Closes #1133 Merge request studip/studip!717
Diffstat (limited to 'templates/sidebar')
-rw-r--r--templates/sidebar/room-clipboard-widget.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/sidebar/room-clipboard-widget.php b/templates/sidebar/room-clipboard-widget.php
index dfd2a01..ca58443 100644
--- a/templates/sidebar/room-clipboard-widget.php
+++ b/templates/sidebar/room-clipboard-widget.php
@@ -12,7 +12,6 @@
]
); ?>
-<? if (!$readonly): ?>
<ul class="widget-list widget-links invisible">
<? foreach ($elements as $index => $element): ?>
<li id="<?= htmlReady('link-' . md5($element->url)) ?>" <?= $element->icon ? 'style="' . $element->icon->asCSS() .'"' : '' ?>>
@@ -23,6 +22,8 @@
</li>
<? endforeach; ?>
</ul>
+</div>
+<? if (!$readonly): ?>
<form class="default new-clipboard-form"
action="<?= URLHelper::getLink(
'dispatch.php/clipboard/add'
@@ -49,4 +50,3 @@
</form>
<? endif ?>
-</div>