aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-19 14:41:24 -0800
committerfriendica <info@friendica.com>2014-11-19 14:41:24 -0800
commit7fec939c23f2a23c8ac123d8a416cb2bde9ffbd9 (patch)
tree7462745090eb9eda756c93e467bf8930eb3e61cf
parent4893e64c1e871e22385e2c3db2d0815d872858fa (diff)
downloadvolse-hubzilla-7fec939c23f2a23c8ac123d8a416cb2bde9ffbd9.tar.gz
volse-hubzilla-7fec939c23f2a23c8ac123d8a416cb2bde9ffbd9.tar.bz2
volse-hubzilla-7fec939c23f2a23c8ac123d8a416cb2bde9ffbd9.zip
couple of fixes:
- significantly increase the content availability on the discover channel - fix the button group on the blog/list mode which made the border on a single comment button a bit wonky
-rw-r--r--include/zot.php5
-rwxr-xr-xview/tpl/conv_list.tpl2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index d5789438c..1f121802a 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1428,8 +1428,13 @@ function process_delivery($sender,$arr,$deliveries,$relay,$public = false,$reque
continue;
}
+
$channel = $r[0];
+ // allow public postings to the sys channel regardless of permissions
+ if(($channel['channel_pageflags'] & PAGE_SYSTEM) && (! $arr['item_private']))
+ $public = true;
+
$tag_delivery = tgroup_check($channel['channel_id'],$arr);
$perm = (($arr['mid'] == $arr['parent_mid']) ? 'send_stream' : 'post_comments');
diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl
index 444734f48..aec1a78ab 100755
--- a/view/tpl/conv_list.tpl
+++ b/view/tpl/conv_list.tpl
@@ -104,7 +104,7 @@
</ul>
</div>
<div id="like-rotator-{{$item.id}}" class="like-rotator"></div>
- <div class="wall-item-tools-left btn-group">
+ <div class="wall-item-tools-left{{if $item.unseen_comments || $item.like_count || $item.dislike_count}} btn-group{{/if}}">
<div class="wall-item-list-comments btn-group"><button class="btn btn-default btn-sm" onclick="window.location.href='{{$item.llink}}'; return false;">{{$item.comment_count_txt}}{{if $item.unseen_comments}}