mirror of
https://github.com/humhub/humhub.git
synced 2025-01-29 12:28:06 +01:00
Fix: Profile image menu not working
This commit is contained in:
parent
2170bf7a1f
commit
023c59b3a6
@ -71,10 +71,10 @@ $profileImageUpload = Upload::withName($imageUploadName, ['url' => $imageUploadU
|
||||
|
||||
<?php if ($container->getProfileImage()->hasImage()) : ?>
|
||||
<a data-ui-gallery="spaceHeader" href="<?= $container->profileImage->getUrl('_org'); ?>">
|
||||
<?= $container->getProfileImage()->render( 140, ['class' => 'profile-user-photo']); ?>
|
||||
<?= $container->getProfileImage()->render( 140, ['class' => 'img-profile-header-background profile-user-photo']); ?>
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<?= $container->getProfileImage()->render(140, ['class' => 'profile-user-photo']); ?>
|
||||
<?= $container->getProfileImage()->render(140, ['class' => 'img-profile-header-background profile-user-photo']); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user