FabioFratini 11 months ago
parent
commit
897ab6f243
2 changed files with 4 additions and 2 deletions
  1. 2 1
      resources/views/news.blade.php
  2. 2 1
      resources/views/page.blade.php

+ 2 - 1
resources/views/news.blade.php

@@ -45,11 +45,12 @@
 
                     <div class="row" style="margin-right:15px;">
                         <img src="/files/news/{{$news->image}}" align="left" class="img-responsive" style="margin-left:15px; margin-right:15px;">
+                        <p style="margin-left:0!important;">{{date("d/m/Y H:i", strtotime($news->date))}}</p>
+
                         <h1 style="font-size:30px;margin-left:15px;">{{$news->title}}</h1>
                         <p style="font-size:16px;">{!!$news->text!!}</p>
 
                     </div>
-                    <p style="margin-left:0!important;">{{date("d/m/Y H:i", strtotime($news->date))}}</p>
                     <h4>{!!$news->text_short!!}</h4>
 
                     @if(sizeof($aImages) > 0)

+ 2 - 1
resources/views/page.blade.php

@@ -39,11 +39,12 @@
                     @if($news->image != '')
                     <div class="row" style="margin-right: 15px;">
                         <img src="/files/news/{{$news->image}}" align="left" class="img-responsive" style="margin-left:15px;">
+                        <p style="margin-left:0!important;">{{date("d/m/Y H:i", strtotime($news->date))}}</p>
+
                         <h1 style="font-size:30px;margin-left:15px;">{{$news->title}}</h1>
                         <p>{!!$news->text!!}</p>
                     </div>
                     @endif
-                    <p style="margin-left:0!important;">{{date("d/m/Y H:i", strtotime($news->date))}}</p>
                     <h5>{!!$news->text_short!!}</h5>
 
                     @if(sizeof($aImages) > 0)