Skip to content
Snippets Groups Projects
Commit afbb13d9 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Spendenaufruf auch für alle neu geladenen Tabs eingebaut

parent aa7582f9
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
...@@ -17,12 +17,27 @@ ...@@ -17,12 +17,27 @@
</div> </div>
@endif @endif
<div class="col-xs-12 col-md-8"> <div class="col-xs-12 col-md-8">
@if(!$apiAuthorized && LaravelLocalization::getCurrentLocale() == "de" && strpos(url()->current(), '/beitritt') === false && strpos(url()->current(), '/spendenaufruf') === false)
<div class="row" style="margin-bottom: 10px">
<div class="col-sm-1">
</div>
<div class="col-sm-10">
<a href="/spendenaufruf" target="_blank" style="
background-color: white;
display: inline-block;
width: 100%;
">
<img src="/img/aufruf.png" alt="Spendenaufruf SuMa eV" width="100%">
</a>
</div>
</div>
@endif
@if($metager->hasProducts()) @if($metager->hasProducts())
@if( $metager->getFokus() !== "produktsuche" && !$apiAuthorized) @if( $metager->getFokus() !== "produktsuche" && !$apiAuthorized)
@include('layouts.products', ['products' => $metager->getProducts()]) @include('layouts.products', ['products' => $metager->getProducts()])
@endif @endif
@else @else
@for($i = 0; $i <= 2; $i++) @for($i = 0; $i <= 1; $i++)
@include('layouts.ad', ['ad' => $metager->popAd()]) @include('layouts.ad', ['ad' => $metager->popAd()])
@endfor @endfor
@endif @endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment