Remove relationship direction display for non-local user contacts
- [frio] Add profile link on avatar in contact_template
This commit is contained in:
parent
470079c37c
commit
4c5fe20018
2 changed files with 4 additions and 2 deletions
|
@ -1030,7 +1030,7 @@ class Contact extends BaseModule
|
|||
}
|
||||
}
|
||||
|
||||
if (!empty($contact['uid']) && !empty($contact['rel'])) {
|
||||
if (!empty($contact['uid']) && !empty($contact['rel']) && local_user() == $contact['uid']) {
|
||||
switch ($contact['rel']) {
|
||||
case Model\Contact::FRIEND:
|
||||
$alt_text = DI::l10n()->t('Mutual Friendship');
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
<div class="contact-entry-photo mframe" id="contact-entry-photo-{{$contact.id}}">
|
||||
|
||||
<div class="contact-photo-image-wrapper hidden-xs">
|
||||
<a href="{{$contact.url}}">
|
||||
<img class="contact-photo media-object xl" src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{{* For very small displays we use a dropdown menu for contact relating actions *}}
|
||||
|
|
Loading…
Reference in a new issue