mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Hide private spaces in Directory -> New Spaces panel
This commit is contained in:
parent
ec04639f9f
commit
2b0e77cb84
@ -17,12 +17,16 @@
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<?php foreach ($newSpaces as $space) : ?>
|
||||
<a href="<?php echo $space->getUrl(); ?>">
|
||||
<img src="<?php echo $space->getProfileImage()->getUrl(); ?>" class="img-rounded tt img_margin"
|
||||
height="40" width="40" alt="40x40" data-src="holder.js/40x40" style="width: 40px; height: 40px;"
|
||||
data-toggle="tooltip" data-placement="top" title=""
|
||||
data-original-title="<strong><?php echo $space->name; ?></strong>">
|
||||
</a>
|
||||
<?php if ($space->visibility == Space::VISIBILITY_NONE && !$space->isMember()) { ?>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo $space->getUrl(); ?>">
|
||||
<img src="<?php echo $space->getProfileImage()->getUrl(); ?>" class="img-rounded tt img_margin"
|
||||
height="40" width="40" alt="40x40" data-src="holder.js/40x40"
|
||||
style="width: 40px; height: 40px;"
|
||||
data-toggle="tooltip" data-placement="top" title=""
|
||||
data-original-title="<strong><?php echo $space->name; ?></strong>">
|
||||
</a>
|
||||
<?php } ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -17,12 +17,16 @@
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<?php foreach ($newSpaces as $space) : ?>
|
||||
<a href="<?php echo $space->getUrl(); ?>">
|
||||
<img src="<?php echo $space->getProfileImage()->getUrl(); ?>" class="img-rounded tt img_margin"
|
||||
height="40" width="40" alt="40x40" data-src="holder.js/40x40" style="width: 40px; height: 40px;"
|
||||
data-toggle="tooltip" data-placement="top" title=""
|
||||
data-original-title="<strong><?php echo $space->name; ?></strong>">
|
||||
</a>
|
||||
<?php if ($space->visibility == Space::VISIBILITY_NONE && !$space->isMember()) { ?>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo $space->getUrl(); ?>">
|
||||
<img src="<?php echo $space->getProfileImage()->getUrl(); ?>" class="img-rounded tt img_margin"
|
||||
height="40" width="40" alt="40x40" data-src="holder.js/40x40"
|
||||
style="width: 40px; height: 40px;"
|
||||
data-toggle="tooltip" data-placement="top" title=""
|
||||
data-original-title="<strong><?php echo $space->name; ?></strong>">
|
||||
</a>
|
||||
<?php } ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -75,10 +79,10 @@
|
||||
<hr>
|
||||
|
||||
<?php if (isset($statsSpaceMostMembers->name)) { ?>
|
||||
<div style="text-align: center;">
|
||||
<strong><?php echo Yii::t('DirectoryModule.base', 'Most members'); ?>:
|
||||
</strong> <?php echo $statsSpaceMostMembers->name; ?>
|
||||
</div>
|
||||
<div style="text-align: center;">
|
||||
<strong><?php echo Yii::t('DirectoryModule.base', 'Most members'); ?>:
|
||||
</strong> <?php echo $statsSpaceMostMembers->name; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user