Passed
Push — master ( 52863f...37ba64 )
by Alexey
04:34
created
system/modules/Materials/appControllers/content/category.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
                 <div class ="category-materials">
13 13
                     <div class ="row">
14 14
                       <?php
15
-                      $i = 0;
16
-                      foreach ($materials as $material) {
17
-                          ?>
15
+                        $i = 0;
16
+                        foreach ($materials as $material) {
17
+                            ?>
18 18
                             <div class = "col-sm-6 category-material">
19 19
                                 <a class="category-material-name" href ="<?= $material->getHref(); ?>"><h3><?= $material->name; ?></h3></a>
20 20
                                 <div class="category-material-preview"><?= $material->preview; ?></div>
Please login to merge, or discard this patch.
system/modules/Materials/appControllers/content/materialWithCategorys.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
     <div class="row">
3 3
         <div class="col-md-3">
4 4
           <?php
5
-          $category = $material->category;
6
-          $this->widget('Materials\categoryTree', ['category' => $category]);
7
-          ?>
5
+            $category = $material->category;
6
+            $this->widget('Materials\categoryTree', ['category' => $category]);
7
+            ?>
8 8
         </div>
9 9
         <div class="col-md-9">
10 10
             <div class="content">
Please login to merge, or discard this patch.