diff options
author | Max Kostikov <max@kostikov.co> | 2019-10-01 11:15:29 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-10-01 11:15:29 +0200 |
commit | 541146e8ce90d09180dc8c3328482383e42c3738 (patch) | |
tree | 41448004a16cdf449dce48fa760265136a600a54 /view/tpl/connection_template.tpl | |
parent | 97b161c5366387b86ee8ac245ef92624e52c5ea2 (diff) | |
download | volse-hubzilla-541146e8ce90d09180dc8c3328482383e42c3738.tar.gz volse-hubzilla-541146e8ce90d09180dc8c3328482383e42c3738.tar.bz2 volse-hubzilla-541146e8ce90d09180dc8c3328482383e42c3738.zip |
Add 'Connect' button for not connected at this location channels
Diffstat (limited to 'view/tpl/connection_template.tpl')
-rwxr-xr-x | view/tpl/connection_template.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/view/tpl/connection_template.tpl b/view/tpl/connection_template.tpl index a40406d5d..de22bcdbb 100755 --- a/view/tpl/connection_template.tpl +++ b/view/tpl/connection_template.tpl @@ -8,6 +8,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> {{if $contact.approve}} |