break;
}
+ if(!in_array($contact['network'], array(NETWORK_DFRN, NETWORK_OSTATUS, NETWORK_DIASPORA)))
+ $relation_text = "";
+
$relation_text = sprintf($relation_text,$contact['name']);
if(($contact['network'] === NETWORK_DFRN) && ($contact['rel'])) {
<div id="contact-edit-nav-wrapper" >
<div id="contact-edit-links">
<ul>
- <li><div id="contact-edit-rel">{{$relation_text}}</div></li>
+ {{if $relation_text}}
+ <li><div id="contact-edit-rel">{{$relation_text}}</div></li>
+ {{/if}}
<li><div id="contact-edit-nettype">{{$nettype}}</div></li>
{{if $lost_contact}}
<li><div id="lost-contact-message">{{$lost_contact}}</div></li>