added limiter

master
Benjamin Völkl 2021-12-27 11:59:01 +01:00
parent 47ba57d14e
commit 6fe04b6fae
4 changed files with 10 additions and 12 deletions

View File

@ -114,11 +114,11 @@
<div class="card-body"> <div class="card-body">
<h5 class="card-title">{{$content->title}}</h5> <h5 class="card-title">{{$content->title}}</h5>
<h6 class="card-subtitle mb-2"> <h6 class="card-subtitle mb-2">
<div class=" small text-muted"">{{date('d.m.Y H:i', strtotime($content->created_at))}}</div> <div class="small text-muted">{{date('d.m.Y H:i', strtotime($content->created_at))}}</div>
</h6> </h6>


<p class="card-text"> <p class="card-text">
{!! strIsset($content->data_fields['neuigkeit'], 'keine Angaben') !!} {!! strIsset(Str::limit(strip_tags(html_entity_decode($content->data_fields['neuigkeit'])), 600,'...'), 'keine Angaben') !!}
</p> </p>
</div> </div>



View File

@ -36,12 +36,12 @@


<h6 class="card-subtitle mb-2"> <h6 class="card-subtitle mb-2">


<div class=" small text-muted"">{{date('d.m.Y H:i', strtotime($content->created_at))}}</div> <div class="small text-muted">{{date('d.m.Y H:i', strtotime($content->created_at))}}</div>


</h6> </h6>


<p class="card-text"> <p class="card-text">
{!! strIsset($content->data_fields['neuigkeit'], 'keine Angaben') !!} {!! strIsset(Str::limit(strip_tags(html_entity_decode($content->data_fields['neuigkeit'])), 600,'...'), 'keine Angaben') !!}


</p> </p>



View File

@ -22,7 +22,8 @@
Wohnen am Kreuzberg<br/> Wohnen am Kreuzberg<br/>
Vohenstraußer Straße 7<br/> Vohenstraußer Straße 7<br/>
92714 Pleystein<br/> 92714 Pleystein<br/>
Tel.: 09654 9223-0<br/> Fax: 09654 9223-30 Tel.: <a href="tel:+49965492230">09654 92230</a> <br/>
Fax: 09654 9223-30
<br/> Mail: wohnen-am-kreuzberg@t-online.de <br/> Mail: wohnen-am-kreuzberg@t-online.de
<br> <br>
<br> <br>

View File

@ -159,10 +159,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="position__arrow">
<a class="prev btn" data-target="#postsCarousel" data-slide="prev" href="" title="Newer"><img src="{{asset('template/images/arrow-left.png')}}" alt=""></a>
<a class="next btn" data-target="#postsCarousel" data-slide="next" href="" title="Older"><img src="{{asset('template/images/arrow-right.png')}}" alt=""></a>
</div>
</div> </div>
<!--/multi cards carousel slider--> <!--/multi cards carousel slider-->


@ -185,14 +182,14 @@
</div> </div>
</div> </div>
<div class="col"> <div class="col">
<img src="{{asset('images/middle-wohnen.png')}}" class="position__img-wohnen" alt=""> <img src="{{asset('template/images/middle-wohnen.png')}}" class="img-fluid" alt="">
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</section> </section>
<section> <section style="margin-bottom: 0px;">
<img src="{{asset('images/middle-wohnen.jpg')}}" alt="" style="width:100%"> <img src="{{asset('template/images/middle-wohnen.jpg')}}" alt="" style="width:100%">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col"> <div class="col">