diff options
author | Mario <mario@mariovavti.com> | 2020-05-04 09:24:22 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-05-04 09:24:22 +0000 |
commit | 46242aeaae084191244008529703c964fa5b2d53 (patch) | |
tree | fa38ce637477d09ce33c5ff43037d559c648130b /view/tpl/contact_template.tpl | |
parent | ad040a0b111539d6cdc4922539d550e21500be04 (diff) | |
download | volse-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-x | view/tpl/contact_template.tpl | 2 |
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> |