Completed
Push — dev ( 9bccb6...c3a9bc )
by Sarah
01:58
created
views/user/profile/home.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,10 +5,8 @@
 block discarded – undo
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
 ?>
Please login to merge, or discard this patch.
views/content/widgets/visibilityLink.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
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>
Please login to merge, or discard this patch.
views/directory/directory/userPosts.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,11 +7,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.