<?php if (!Yii::$app->user->isGuest) { echo humhub\modules\post\widgets\Form::widget(['contentContainer' => Yii::$app->user->getIdentity()]); } echo humhub\modules\content\widgets\Stream::widget(array('streamAction' => '//directory/directory/stream', 'messageStreamEmpty' => !Yii::$app->user->isGuest ? Yii::t('DirectoryModule.views_directory_userPosts', '<b>Nobody wrote something yet.</b><br>Make the beginning and post something...') : Yii::t('DirectoryModule.views_directory_userPosts', '<b>There are no profile posts yet!</b>'), 'messageStreamEmptyCss' => !Yii::$app->user->isGuest ? 'placeholder-empty-stream' : '')); ?>
<div class="container"> <div class="row"> <div class="col-md-8"> <?php if ($showProfilePostForm) { echo \humhub\modules\post\widgets\Form::widget(['contentContainer' => \Yii::$app->user->getIdentity()]); } ?> <?php echo humhub\modules\content\widgets\Stream::widget(['streamAction' => '//dashboard/dashboard/stream', 'showFilters' => false, 'messageStreamEmpty' => Yii::t('DashboardModule.views_dashboard_index', '<b>Your dashboard is empty!</b><br>Post something on your profile or join some spaces!')]); ?> </div> <div class="col-md-4"> <div class="row"> <div class="col-xs-12" id="quotes"> <div class="panel panel-default panel-teachingquotes"> <img src="<?php echo $this->theme->getBaseUrl() . '/img/tc-apple.png'; ?> " style=""> <?php echo $this->render('../../quotes/quotes'); ?> </div> </div> </div> <?php