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

Spendenaufruf auch für alle neu geladenen Tabs eingebaut

parent 89f772ff
No related branches found
No related tags found
2 merge requests!1117Development,!1113Resolve "Spendenaufruf"
......@@ -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
......
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