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.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 70bdb4022..58c7459da 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -51,11 +51,15 @@ 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="keep_unread">' . $l->t('Keep unread') . '<input type="checkbox" /></li>';
echo '</ul>';
echo '</div>';
+
echo '</li>';