aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/contact_template.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-05-04 09:24:22 +0000
committerMario <mario@mariovavti.com>2020-05-04 09:24:22 +0000
commit46242aeaae084191244008529703c964fa5b2d53 (patch)
treefa38ce637477d09ce33c5ff43037d559c648130b /view/tpl/contact_template.tpl
parentad040a0b111539d6cdc4922539d550e21500be04 (diff)
downloadvolse-hubzilla-46242aeaae084191244008529703c964fa5b2d53.tar.gz
volse-hubzilla-46242aeaae084191244008529703c964fa5b2d53.tar.bz2
volse-hubzilla-46242aeaae084191244008529703c964fa5b2d53.zip
display complete perminfo only to owner
Diffstat (limited to 'view/tpl/contact_template.tpl')
-rwxr-xr-xview/tpl/contact_template.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/contact_template.tpl b/view/tpl/contact_template.tpl
index 40495b789..73fa5adde 100755
--- a/view/tpl/contact_template.tpl
+++ b/view/tpl/contact_template.tpl
@@ -1,7 +1,7 @@
<div class="contact-entry-wrapper" id="contact-entry-wrapper-{{$contact.id}}" >
<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>
- {{include "connstatus.tpl" perminfo=$contact.perminfo}}
+ {{if $contact.perminfo}}{{include "connstatus.tpl" perminfo=$contact.perminfo}}{{/if}}
</div>
<div class="contact-entry-photo-end" ></div>
<div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >{{$contact.name}}</div>