Merge branch 'dev' into 'dev'
Add 'Connect' button for not connected at this location channels See merge request hubzilla/core!1743
This commit is contained in:
commit
79b05e48e8
@ -322,7 +322,10 @@ class Connections extends \Zotlabs\Web\Controller {
|
||||
'ignore' => ((! $rr['abook_ignored']) ? t('Ignore') : false),
|
||||
'recent_label' => t('Recent activity'),
|
||||
'recentlink' => z_root() . '/network/?f=&cid=' . intval($rr['abook_id']) . '&name=' . $rr['xchan_name'],
|
||||
'oneway' => $oneway
|
||||
'oneway' => $oneway,
|
||||
'connect' => (intval($rr['abook_not_here']) ? t('Connect') : ''),
|
||||
'follow' => z_root() . '/follow/?f=&url=' . urlencode($rr['xchan_addr']) . '&interactive=0',
|
||||
'connect_hover' => t('Connect at this location')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
24415
view/ru/hmessages.po
24415
view/ru/hmessages.po
File diff suppressed because it is too large
Load Diff
5589
view/ru/hstrings.php
5589
view/ru/hstrings.php
File diff suppressed because it is too large
Load Diff
@ -7,6 +7,9 @@
|
||||
|
||||
<a href="connedit/{{$contact.id}}/ignore" class="btn btn-warning btn-sm" title="{{$contact.ignore_hover}}"><i class="fa fa-ban"></i> {{$contact.ignore}}</a>
|
||||
|
||||
{{/if}}
|
||||
{{if $contact.connect}}
|
||||
<a href="{{$contact.follow}}" class="btn btn-success btn-sm" title="{{$contact.connect_hover}}"><i class="fa fa-plus"></i> {{$contact.connect}}</a>
|
||||
{{/if}}
|
||||
<a href="#" class="btn btn-danger btn-sm contact-delete-btn" title="{{$contact.delete_hover}}" onclick="dropItem('{{$contact.deletelink}}', '#contact-entry-wrapper-{{$contact.id}}'); return false;"><i class="fa fa-trash-o"></i> {{$contact.delete}}</a>
|
||||
<a href="{{$contact.link}}" class="btn btn-outline-secondary btn-sm" title="{{$contact.edit_hover}}"><i class="fa fa-pencil"></i> {{$contact.edit}}</a>
|
||||
|
Reference in New Issue
Block a user