Commit afbb13d9 authored by Dominik Hebeler's avatar Dominik Hebeler

Spendenaufruf auch für alle neu geladenen Tabs eingebaut

parent aa7582f9
......@@ -17,12 +17,27 @@
</div>
@endif
<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->getFokus() !== "produktsuche" && !$apiAuthorized)
@include('layouts.products', ['products' => $metager->getProducts()])
@endif
@else
@for($i = 0; $i <= 2; $i++)
@for($i = 0; $i <= 1; $i++)
@include('layouts.ad', ['ad' => $metager->popAd()])
@endfor
@endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment