mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 16:15:13 +00:00
distinguish between groups and other one-way connections
This commit is contained in:
parent
64b60b035b
commit
c006594d84
2 changed files with 7 additions and 1 deletions
|
@ -395,6 +395,8 @@ class Connections extends Controller
|
|||
'recent_label' => t('Recent activity'),
|
||||
'recentlink' => z_root() . '/stream/?cid=' . intval($rr['abook_id']),
|
||||
'oneway' => $oneway,
|
||||
'oneway_desc' => t('Is not following your posts'),
|
||||
'group_desc' => t('Is only following group posts'),
|
||||
'allow_delete' => ($rr['abook_pending'] || get_pconfig(local_channel(), 'system', 'connections_quick_delete')),
|
||||
];
|
||||
}
|
||||
|
|
|
@ -40,7 +40,11 @@
|
|||
{{/if}}
|
||||
<!--/a -->
|
||||
{{if $contact.oneway}}
|
||||
<i class="fa fa-fw fa-minus-circle oneway-overlay text-danger"></i>
|
||||
{{if $contact.channel_type == 1}}
|
||||
<i class="fa fa-fw fa-plus-circle oneway-overlay text-danger" title="{{$contact.group_desc}}"></i>
|
||||
{{else}}
|
||||
<i class="fa fa-fw fa-minus-circle oneway-overlay text-danger" title="{{$contact.oneway_desc}}"></i>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="contact-info">
|
||||
|
|
Loading…
Reference in a new issue