Commit 6f75936f authored by Karl's avatar Karl
Browse files

Die Version scheint sowohl mit den alten Lesezeichen als auch Plugins kompatibel zu sein

parent 0a7d18e4
......@@ -6,6 +6,7 @@ return [
'foki.nachrichten' => 'News/Politik',
'foki.wissenschaft' => 'Wissenschaft',
'foki.produkte' => 'Produkte',
'foki.angepasst' => 'Angepasst',
'foki.eigene' => 'Eigene Suche',
'foki.eigene.entfernen' => 'Eigene Suche entfernen',
'foki.angepasst.entfernen' => 'Einstellungen zurücksetzen',
......
......@@ -229,6 +229,16 @@
<span class="content">{{ trans('index.foki.produkte') }}</span>
</label>
</div>
{{-- Fix for older Versions --}}
@if ($focus === 'angepasst')
<div class="focus">
<input id="angepasst" class="focus-radio hide" type="radio" name="focus" value="angepasst" form="searchForm" checked required="">
<label id="anpassen-label" class="focus-label" for="angepasst">
<span class="glyphicon glyphicon-cog"></span>
<span class="content">{{ trans('index.foki.angepasst') }}</span>
</label>
</div>
@endif
<button id="addFocusBtn" class="btn btn-default hide">
<span class="glyphicon glyphicon-plus"></span>
</button>
......
......@@ -117,6 +117,16 @@
</li>
@endif
{{-- Fix for older Versions --}}
@if( $metager->getFokus() === "angepasst" )
<li id="angepasstTabSelector" role="presentation" data-loaded="1" class="active tab-selector">
<a aria-controls="angepasst" data-href="#angepasst" href="#angepasst">
<span class='glyphicon glyphicon-cog'></span>
<span class="hidden-xs">{{ trans('index.foki.angepasst') }}</span>
</a>
</li>
@endif
<li id="mapsTabSelector" role="presentation" class="tab-selector">
<a href="https://maps.metager.de/map/{{ $metager->getQ() }}/-6.781309835595698/44.85855550132342/33.9779675081543/58.25372144666716" target="_blank">
<span class='glyphicon glyphicon-map-marker'></span>
......@@ -196,5 +206,13 @@
</div>
</div>
@endif
@if( $metager->getFokus() === "angepasst" )
<div role="tabpanel" class="tab-pane active" id="angepasst">
<div class="row">
@yield('results')
</div>
</div>
@endif
</main>
</div>
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