summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 58c7459da..45a45a876 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -51,11 +51,10 @@ foreach($items as $item) {
echo '<div class="body">' . $item->getBody() . '</div>';
- echo '<div><a class="share" data-item-type="news_item" data-item="' . $item->getId() . '" title="' . $l->t('Share') .
- '" data-possible-permissions="' . (OCP\Share::PERMISSION_READ | OCP\Share::PERMISSION_SHARE) . '"/></div>';
-
echo '<div class="bottom_utils">';
- echo '<ul class="secondary_item_utils">';
+ echo '<ul class="secondary_item_utils">';
+ echo '<li class="share"><a data-item-type="news_item" data-item="' . $item->getId() . '" title="' . $l->t('Share') .
+ '" data-possible-permissions="' . (OCP\Share::PERMISSION_READ | OCP\Share::PERMISSION_SHARE) . '" href="#">' . $l->t('Share') . '</a></li>';
echo '<li class="keep_unread">' . $l->t('Keep unread') . '<input type="checkbox" /></li>';
echo '</ul>';
echo '</div>';