@@ -5,10 +5,8 @@ |
||
5 | 5 | 'contentContainer' => $user, |
6 | 6 | 'streamAction' => '//user/profile/stream', |
7 | 7 | 'messageStreamEmpty' => ($user->permissionManager->can(new \humhub\modules\post\permissions\CreatePost())) ? |
8 | - Yii::t('UserModule.views_profile_index', '<b>Your profile stream is still empty</b><br>Get started and post something...') : |
|
9 | - Yii::t('UserModule.views_profile_index', '<b>This profile stream is still empty!</b>'), |
|
8 | + Yii::t('UserModule.views_profile_index', '<b>Your profile stream is still empty</b><br>Get started and post something...') : Yii::t('UserModule.views_profile_index', '<b>This profile stream is still empty!</b>'), |
|
10 | 9 | 'messageStreamEmptyCss' => ($user->permissionManager->can(new \humhub\modules\post\permissions\CreatePost())) ? |
11 | - 'placeholder-empty-stream' : |
|
12 | - '', |
|
10 | + 'placeholder-empty-stream' : '', |
|
13 | 11 | )); |
14 | 12 | ?> |
@@ -6,7 +6,7 @@ |
||
6 | 6 | |
7 | 7 | ?> |
8 | 8 | <li> |
9 | - <?php if($content->isPrivate()) :?> |
|
9 | + <?php if ($content->isPrivate()) :?> |
|
10 | 10 | <a href="#" class="makePublicLink" data-action-click="toggleVisibility" data-action-url="<?= $toggleLink ?>"> |
11 | 11 | <i class="fa fa-unlock makePublic"></i> <?= Yii::t('ContentModule.widgets_views_contentForm', 'Make public') ?> |
12 | 12 | </a> |
@@ -7,11 +7,9 @@ |
||
7 | 7 | echo \humhub\modules\stream\widgets\StreamViewer::widget(array( |
8 | 8 | 'streamAction' => '//directory/directory/stream', |
9 | 9 | 'messageStreamEmpty' => (!Yii::$app->user->isGuest) ? |
10 | - Yii::t('DirectoryModule.base', '<b>Nobody wrote something yet.</b><br>Make the beginning and post something...') : |
|
11 | - Yii::t('DirectoryModule.base', '<b>There are no profile posts yet!</b>'), |
|
10 | + Yii::t('DirectoryModule.base', '<b>Nobody wrote something yet.</b><br>Make the beginning and post something...') : Yii::t('DirectoryModule.base', '<b>There are no profile posts yet!</b>'), |
|
12 | 11 | 'messageStreamEmptyCss' => (!Yii::$app->user->isGuest) ? |
13 | - 'placeholder-empty-stream' : |
|
14 | - '', |
|
12 | + 'placeholder-empty-stream' : '', |
|
15 | 13 | )); |
16 | 14 | ?> |
17 | 15 |