summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/views/cocktail_list.blade.php14
1 files changed, 11 insertions, 3 deletions
diff --git a/resources/views/cocktail_list.blade.php b/resources/views/cocktail_list.blade.php
index 37d5627..8aed633 100644
--- a/resources/views/cocktail_list.blade.php
+++ b/resources/views/cocktail_list.blade.php
@@ -1,7 +1,11 @@
@extends('layouts.base')
@section('header')
-Du hast nach {{ implode(" und ", $search_terms) }} gesucht: {{$count}} Cocktails gefunden
+ @if ( str_contains(Request::fullUrl(), 'oder'))
+ Du hast nach {{ implode(" und/oder ", $search_terms) }} gesucht: {{$count}} Cocktails gefunden
+ @else
+ Du hast nach {{ implode(" und ", $search_terms) }} gesucht: {{$count}} Cocktails gefunden
+ @endif
@endsection
@section('styles')
@@ -23,8 +27,12 @@ Du hast nach {{ implode(" und ", $search_terms) }} gesucht: {{$count}} Cocktails
Du hast nach
@foreach( $search_terms as $term )
- @if ( !$loop->first )
- und
+ @if ( ! $loop->first )
+ @if ( str_contains(Request::fullUrl(), 'oder'))
+ und/oder
+ @else
+ und
+ @endif
@endif
<strong>{{ $term }}</strong>
@endforeach