mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Enh: Added 'archived' badge to archived spaces in directory
This commit is contained in:
parent
38f3548d69
commit
91f5cf7efb
@ -97,6 +97,7 @@ HumHub Change Log
|
||||
- Fix: Added missing file download http caching
|
||||
- Enh: Added console email test command
|
||||
- Enh: Added stream module defaultStreamSuppressQueryIgnore to ease overwrites
|
||||
- Enh: Added 'archived' badge to archived spaces in directory
|
||||
|
||||
|
||||
1.2.0-beta.2 (February 24, 2017)
|
||||
|
@ -60,7 +60,12 @@ use humhub\modules\directory\widgets\SpaceTagList;
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="media-body">
|
||||
<h4 class="media-heading"><a href="<?= $space->getUrl(); ?>"><?= Html::encode($space->name); ?></a></h4>
|
||||
<h4 class="media-heading"><a href="<?= $space->getUrl(); ?>"><?= Html::encode($space->name); ?></a>
|
||||
<?php if ($space->isArchived()) : ?>
|
||||
<span class="label label-warning"><?= Yii::t('ContentModule.widgets_views_label', 'Archived'); ?></span>
|
||||
<?php endif; ?>
|
||||
</h4>
|
||||
|
||||
<h5><?= Html::encode(Helpers::truncateText($space->description, 100)); ?></h5>
|
||||
<?= SpaceTagList::widget(['space' => $space]); ?>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user