kopia lustrzana https://github.com/friendica/friendica
Check for existence of $contact.photo_menu.edit in frio:contact/entry.tpl
- Address https://github.com/friendica/friendica/issues/11992#issuecomment-1327030221pull/12276/head
rodzic
ed7b175491
commit
34418d790d
|
@ -6,7 +6,7 @@
|
|||
<div class="contact-entry-photo mframe" id="contact-entry-photo-{{$contact.id}}">
|
||||
|
||||
<div class="contact-photo-image-wrapper hidden-xs">
|
||||
<a href="{{if $contact.photo_menu.edit}}{{$contact.photo_menu.edit.1}}{{else}}{{$contact.url}}{{/if}}">
|
||||
<a href="{{if !empty($contact.photo_menu.edit)}}{{$contact.photo_menu.edit.1}}{{else}}{{$contact.url}}{{/if}}">
|
||||
<img class="contact-photo media-object xl" src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" />
|
||||
</a>
|
||||
</div>
|
||||
|
|
Ładowanie…
Reference in New Issue