@@ -1,23 +1,23 @@ |
||
| 1 | 1 | <div class="row"> |
| 2 | 2 | <div class="col-sm-8"> |
| 3 | 3 | <?php |
| 4 | - if ($showProfilePostForm) { |
|
| 5 | - echo \humhub\modules\post\widgets\Form::widget(['contentContainer' => \Yii::$app->user->getIdentity()]); |
|
| 6 | - } |
|
| 7 | - ?> |
|
| 4 | + if ($showProfilePostForm) { |
|
| 5 | + echo \humhub\modules\post\widgets\Form::widget(['contentContainer' => \Yii::$app->user->getIdentity()]); |
|
| 6 | + } |
|
| 7 | + ?> |
|
| 8 | 8 | <?php |
| 9 | - echo \humhub\modules\content\widgets\Stream::widget([ |
|
| 10 | - 'streamAction' => '//dashboard/dashboard/stream', |
|
| 11 | - 'showFilters' => true, |
|
| 12 | - 'messageStreamEmpty' => Yii::t('DashboardModule.views_dashboard_index', '<b>Your dashboard is empty!</b><br>Post something on your profile or join some spaces!'), |
|
| 13 | - ]); |
|
| 14 | - ?> |
|
| 9 | + echo \humhub\modules\content\widgets\Stream::widget([ |
|
| 10 | + 'streamAction' => '//dashboard/dashboard/stream', |
|
| 11 | + 'showFilters' => true, |
|
| 12 | + 'messageStreamEmpty' => Yii::t('DashboardModule.views_dashboard_index', '<b>Your dashboard is empty!</b><br>Post something on your profile or join some spaces!'), |
|
| 13 | + ]); |
|
| 14 | + ?> |
|
| 15 | 15 | </div> |
| 16 | 16 | <div class="col-sm-4"> |
| 17 | 17 | <?php |
| 18 | - echo \humhub\modules\dashboard\widgets\Sidebar::widget(['widgets' => [ |
|
| 19 | - [\humhub\modules\activity\widgets\Stream::className(), ['streamAction' => '/dashboard/dashboard/stream'], ['sortOrder' => 150]], |
|
| 20 | - ]]); |
|
| 21 | - ?> |
|
| 18 | + echo \humhub\modules\dashboard\widgets\Sidebar::widget(['widgets' => [ |
|
| 19 | + [\humhub\modules\activity\widgets\Stream::className(), ['streamAction' => '/dashboard/dashboard/stream'], ['sortOrder' => 150]], |
|
| 20 | + ]]); |
|
| 21 | + ?> |
|
| 22 | 22 | </div> |
| 23 | 23 | </div> |