Completed
Pull Request — dev (#71)
by Sarah
04:28
created
views/user/widgets/profileHeader.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
                        class="btn btn-info btn-sm" data-target="#globalModal" data-backdrop="static"><i
137 137
                             class="fa fa-edit"></i></a>
138 138
                         <?=
139
-                   \humhub\widgets\ModalConfirm::widget(array(
139
+                    \humhub\widgets\ModalConfirm::widget(array(
140 140
                             'uniqueID' => 'modal_profileimagedelete',
141 141
                             'linkOutput' => 'a',
142 142
                             'title' => Yii::t('UserModule.widgets_views_deleteImage', '<strong>Confirm</strong> image deleting'),
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 
202 202
                     <div class="controls controls-header pull-right">
203 203
                         <?=
204
-                 \humhub\modules\user\widgets\ProfileHeaderControls::widget(
204
+                    \humhub\modules\user\widgets\ProfileHeaderControls::widget(
205 205
                                 array(
206 206
                                     'user' => $user,
207 207
                                     'widgets' => array(
Please login to merge, or discard this patch.
views/space/widgets/header.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -66,15 +66,15 @@  discard block
 block discarded – undo
66 66
                             class="fa fa-cloud-upload"></i></a>
67 67
                     <a id="banner-image-upload-edit-button"
68 68
                        style="<?php
69
-                       if (!$space->getProfileBannerImage()->hasImage()) {
70
-                           echo 'display: none;';
71
-                       }
72
-                       ?>"
69
+                        if (!$space->getProfileBannerImage()->hasImage()) {
70
+                            echo 'display: none;';
71
+                        }
72
+                        ?>"
73 73
                        href="<?= $space->createUrl('/space/manage/image/crop-banner'); ?>"
74 74
                        class="btn btn-info btn-sm" data-target="#globalModal" data-backdrop="static"><i
75 75
                             class="fa fa-edit"></i></a>
76 76
                         <?=
77
-                           humhub\widgets\ModalConfirm::widget(array(
77
+                            humhub\widgets\ModalConfirm::widget(array(
78 78
                             'uniqueID' => 'modal_bannerimagedelete',
79 79
                             'linkOutput' => 'a',
80 80
                             'title' => Yii::t('SpaceModule.widgets_views_deleteBanner', '<strong>Confirm</strong> image deleting'),
@@ -125,15 +125,15 @@  discard block
 block discarded – undo
125 125
                             class="fa fa-cloud-upload"></i></a>
126 126
                     <a id="profile-image-upload-edit-button"
127 127
                        style="<?php
128
-                       if (!$space->getProfileImage()->hasImage()) {
129
-                           echo 'display: none;';
130
-                       }
131
-                       ?>"
128
+                        if (!$space->getProfileImage()->hasImage()) {
129
+                            echo 'display: none;';
130
+                        }
131
+                        ?>"
132 132
                        href="<?= $space->createUrl('/space/manage/image/crop'); ?>"
133 133
                        class="btn btn-info btn-sm" data-target="#globalModal" data-backdrop="static"><i
134 134
                             class="fa fa-edit"></i></a>
135 135
                         <?=
136
-                           humhub\widgets\ModalConfirm::widget(array(
136
+                            humhub\widgets\ModalConfirm::widget(array(
137 137
                             'uniqueID' => 'modal_profileimagedelete',
138 138
                             'linkOutput' => 'a',
139 139
                             'title' => Yii::t('SpaceModule.widgets_views_deleteImage', '<strong>Confirm</strong> image deleting'),
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
 
193 193
                     <div class="controls controls-header pull-right">
194 194
                         <?=
195
-                           humhub\modules\space\widgets\HeaderControls::widget(['widgets' => [
195
+                            humhub\modules\space\widgets\HeaderControls::widget(['widgets' => [
196 196
                                 [\humhub\modules\space\widgets\InviteButton::className(), ['space' => $space], ['sortOrder' => 10]],
197 197
                                 [\humhub\modules\space\widgets\MembershipButton::className(), ['space' => $space], ['sortOrder' => 20]],
198 198
                                 [\humhub\modules\space\widgets\FollowButton::className(), [
Please login to merge, or discard this patch.
views/admin/group/members.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     <div class="form-group">
14 14
         <div class="input-group select2-humhub-append">
15 15
             <?=
16
-               humhub\modules\user\widgets\UserPickerField::widget([
16
+                humhub\modules\user\widgets\UserPickerField::widget([
17 17
                 'model' => $addGroupMemberForm,
18 18
                 'attribute' => 'userGuids',
19 19
                 'url' => Url::to(['/admin/group/new-member-search', 'id' => $group->id]),
Please login to merge, or discard this patch.
views/comment/comment/edit.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     <div class="comment-buttons">
22 22
 
23 23
         <?=
24
-           \humhub\modules\file\widgets\UploadButton::widget([
24
+            \humhub\modules\file\widgets\UploadButton::widget([
25 25
             'id' => 'comment_upload_' . $comment->id,
26 26
             'model' => $comment,
27 27
             'dropZone' => '#comment_' . $comment->id,
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     <div id="comment_upload_progress_<?= $comment->id ?>" style="display:none;margin:10px 0px;"></div>
45 45
     
46 46
     <?=
47
-       \humhub\modules\file\widgets\FilePreview::widget([
47
+        \humhub\modules\file\widgets\FilePreview::widget([
48 48
         'id' => 'comment_upload_preview_' . $comment->id,
49 49
         'options' => ['style' => 'margin-top:10px'],
50 50
         'model' => $comment,
Please login to merge, or discard this patch.
views/admin/group/edit.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 
15 15
     <?php if (!$group->is_admin_group): ?>
16 16
         <?=
17
-           SpacePickerField::widget([
17
+            SpacePickerField::widget([
18 18
             'form' => $form,
19 19
             'model' => $group,
20 20
             'attribute' => 'defaultSpaceGuid',
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     <?php if ($isManagerApprovalSetting && !$group->is_admin_group): ?>
28 28
         <?php $url = ($group->isNewRecord) ? null : Url::to(['/admin/group/admin-user-search', 'id' => $group->id]); ?>
29 29
         <?=
30
-           UserPickerField::widget([
30
+            UserPickerField::widget([
31 31
             'form' => $form,
32 32
             'model' => $group,
33 33
             'attribute' => 'managerGuids',
Please login to merge, or discard this patch.