aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-06-24 21:12:20 +0200
committerMario Vavti <mario@mariovavti.com>2015-06-24 21:12:20 +0200
commite9cc06dc1198c98b7634ad79f2436947d7f94477 (patch)
tree097515736c52bb4dce68ae1c88ea2f17158b8a00 /view
parent05c7022ff89638829e575f8fdf766731373c42f2 (diff)
downloadvolse-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')
-rwxr-xr-xview/tpl/direntry.tpl2
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>&nbsp;{{/if}}<a href='{{$entry.profile_link}}' >{{$entry.name}}</a>{{if $entry.online}}&nbsp;<i class="icon-asterisk online-now" title="{{$entry.online}}"></i>{{/if}}</h3>
</div>