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

Merge branch '504-mobile-styles-optimieren-inkl-quicktips' into 'development'

Fix: Werbefreie Suche

See merge request !922
parents 9cb35d64 187967ce
No related branches found
No related tags found
2 merge requests!924Development,!922Fix: Werbefreie Suche
...@@ -108,6 +108,7 @@ class MetaGer ...@@ -108,6 +108,7 @@ class MetaGer
->with('mobile', $this->mobile) ->with('mobile', $this->mobile)
->with('warnings', $this->warnings) ->with('warnings', $this->warnings)
->with('errors', $this->errors) ->with('errors', $this->errors)
->with('apiAuthorized', $this->apiAuthorized)
->with('metager', $this) ->with('metager', $this)
->with('browser', (new Agent())->browser()); ->with('browser', (new Agent())->browser());
default: default:
...@@ -117,6 +118,7 @@ class MetaGer ...@@ -117,6 +118,7 @@ class MetaGer
->with('mobile', $this->mobile) ->with('mobile', $this->mobile)
->with('warnings', $this->warnings) ->with('warnings', $this->warnings)
->with('errors', $this->errors) ->with('errors', $this->errors)
->with('apiAuthorized', $this->apiAuthorized)
->with('metager', $this) ->with('metager', $this)
->with('browser', (new Agent())->browser()); ->with('browser', (new Agent())->browser());
} }
...@@ -129,6 +131,7 @@ class MetaGer ...@@ -129,6 +131,7 @@ class MetaGer
->with('mobile', $this->mobile) ->with('mobile', $this->mobile)
->with('warnings', $this->warnings) ->with('warnings', $this->warnings)
->with('errors', $this->errors) ->with('errors', $this->errors)
->with('apiAuthorized', $this->apiAuthorized)
->with('metager', $this) ->with('metager', $this)
->with('browser', (new Agent())->browser()); ->with('browser', (new Agent())->browser());
break; break;
...@@ -139,6 +142,7 @@ class MetaGer ...@@ -139,6 +142,7 @@ class MetaGer
->with('mobile', $this->mobile) ->with('mobile', $this->mobile)
->with('warnings', $this->warnings) ->with('warnings', $this->warnings)
->with('errors', $this->errors) ->with('errors', $this->errors)
->with('apiAuthorized', $this->apiAuthorized)
->with('metager', $this) ->with('metager', $this)
->with('suspendheader', "yes") ->with('suspendheader', "yes")
->with('browser', (new Agent())->browser()); ->with('browser', (new Agent())->browser());
...@@ -172,6 +176,7 @@ class MetaGer ...@@ -172,6 +176,7 @@ class MetaGer
->with('mobile', $this->mobile) ->with('mobile', $this->mobile)
->with('warnings', $this->warnings) ->with('warnings', $this->warnings)
->with('errors', $this->errors) ->with('errors', $this->errors)
->with('apiAuthorized', $this->apiAuthorized)
->with('metager', $this) ->with('metager', $this)
->with('browser', (new Agent())->browser()); ->with('browser', (new Agent())->browser());
break; break;
......
@if(isset($ad) && !$metager->apiAuthorized) @if(isset($ad) && !apiAuthorized)
<div class="result ad row"> <div class="result ad row">
<div class="number col-sm-1"></div> <div class="number col-sm-1"></div>
<div class="resultInformation col-sm-10"> <div class="resultInformation col-sm-10">
......
@if(isset($result) && !$metager->apiAuthorized) @if(isset($result) && !$apiAuthorized)
<article class="search-result ad card elevation-1"> <article class="search-result ad card elevation-1">
<div class="result-content"> <div class="result-content">
<h1 class="result-title">{{ $result->titel }}</h1> <h1 class="result-title">{{ $result->titel }}</h1>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment