diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-06-24 21:12:20 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-06-24 21:12:20 +0200 |
commit | e9cc06dc1198c98b7634ad79f2436947d7f94477 (patch) | |
tree | 097515736c52bb4dce68ae1c88ea2f17158b8a00 /view/tpl/direntry.tpl | |
parent | 05c7022ff89638829e575f8fdf766731373c42f2 (diff) | |
download | volse-hubzilla-e9cc06dc1198c98b7634ad79f2436947d7f94477.tar.gz volse-hubzilla-e9cc06dc1198c98b7634ad79f2436947d7f94477.tar.bz2 volse-hubzilla-e9cc06dc1198c98b7634ad79f2436947d7f94477.zip |
directory: only provide connect button if we are not already connected
Diffstat (limited to 'view/tpl/direntry.tpl')
-rwxr-xr-x | view/tpl/direntry.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl index 3450ad36d..98ec25e23 100755 --- a/view/tpl/direntry.tpl +++ b/view/tpl/direntry.tpl @@ -8,7 +8,9 @@ {{if $entry.ignlink}} <a class="directory-ignore btn btn-warning btn-xs" href="{{$entry.ignlink}}"> {{$entry.ignore_label}}</a> {{/if}} + {{if $entry.connect}} <a class="btn btn-success btn-xs" href="{{$entry.connect}}"><i class="icon-plus connect-icon"></i> {{$entry.conn_label}}</a> + {{/if}} </div> <h3>{{if $entry.public_forum}}<i class="icon-comments-alt" title="{{$entry.forum_label}} @{{$entry.nickname}}+"></i> {{/if}}<a href='{{$entry.profile_link}}' >{{$entry.name}}</a>{{if $entry.online}} <i class="icon-asterisk online-now" title="{{$entry.online}}"></i>{{/if}}</h3> </div> |