From 0a7364d49497f6026797f059dd8da28c73bf8db5 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 6 Sep 2017 11:42:16 +0200 Subject: make cards likeable --- Zotlabs/Module/Like.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php index c995079ce..b104a5f5f 100644 --- a/Zotlabs/Module/Like.php +++ b/Zotlabs/Module/Like.php @@ -255,7 +255,7 @@ class Like extends \Zotlabs\Web\Controller { // get the item. Allow linked photos (which are normally hidden) to be liked $r = q("SELECT * FROM item WHERE id = %d - and item_type = 0 and item_deleted = 0 and item_unpublished = 0 + and (item_type = 0 or item_type = 6) and item_deleted = 0 and item_unpublished = 0 and item_delayed = 0 and item_pending_remove = 0 and item_blocked = 0 LIMIT 1", intval($item_id) ); -- cgit v1.2.3 From 643f515eaf21c05e03f0f51a332c18e0acdc403d Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 6 Sep 2017 15:55:34 +0200 Subject: cards: remove double generic-content-wrapper and section title --- view/tpl/cards.tpl | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/view/tpl/cards.tpl b/view/tpl/cards.tpl index a06e2fd22..60e6163ae 100644 --- a/view/tpl/cards.tpl +++ b/view/tpl/cards.tpl @@ -1,9 +1,4 @@ -
-
-

{{$title}}

-
-
- {{$editor}} - {{$content}} -
- {{$pager}} +
+{{$editor}} +{{$content}} +{{$pager}} -- cgit v1.2.3