mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
Add same code to viewconnections, but with slightly different descriptive text
This commit is contained in:
parent
c006594d84
commit
06b35d8d00
2 changed files with 10 additions and 3 deletions
|
@ -69,11 +69,14 @@ class Viewconnections extends Controller
|
|||
'thumb' => $rr['xchan_photo_m'],
|
||||
'name' => substr($rr['xchan_name'], 0, 20),
|
||||
'username' => $rr['xchan_addr'],
|
||||
'channel_type' => $rr['xchan_type'],
|
||||
'link' => $url,
|
||||
'sparkle' => '',
|
||||
'itemurl' => $rr['url'],
|
||||
'network' => '',
|
||||
'oneway' => $oneway
|
||||
'oneway' => $oneway,
|
||||
'oneway_desc' => t('Is not following back'),
|
||||
'group_desc' => t('Is only following group posts')
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
<div class="contact-entry-photo-wrapper" >
|
||||
<a href="{{$contact.link}}" title="{{$contact.img_hover}}" ><img class="contact-block-img" src="{{$contact.thumb}}" alt="{{$contact.name}}" /></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-entry-photo-end" ></div>
|
||||
|
|
Loading…
Reference in a new issue