Skip to content
Snippets Groups Projects
Commit 48cc4ef0 authored by Karl Hasselbring's avatar Karl Hasselbring
Browse files

Fortschritte mit dem Footer der Startseite

parent 71f6120c
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
@section('title', $title ) @section('title', $title )
@section('content') @section('content')
@include('modals.plugin-modal')
@include('modals.create-focus-modal') @include('modals.create-focus-modal')
<h1 id="mglogo"><a class="hidden-xs" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}">MetaGer</a></h1> <h1 id="mglogo"><a class="hidden-xs" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}">MetaGer</a></h1>
<fieldset> <fieldset>
......
...@@ -53,10 +53,12 @@ ...@@ -53,10 +53,12 @@
@yield('content') @yield('content')
</main> </main>
@yield('optionalContent') @yield('optionalContent')
@if (isset($page) && $page === 'startpage') @include('layouts.footer', ['type' => 'startpage', 'id' => 'startPageFooter'])
@else @include('layouts.footer', ['type' => 'subpage', 'id' => 'subPageFooter'])
@endif
<img src="{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}" class="hidden" /> <img src="{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}" class="hidden" />
</div> </div>
@if (isset($page) && $page === 'startpage')
@include('layouts.footer', ['type' => 'startpage', 'id' => 'startPageFooter'])
@else
@include('layouts.footer', ['type' => 'subpage', 'id' => 'subPageFooter'])
@endif
</body> </body>
</html> </html>
...@@ -6,11 +6,23 @@ ...@@ -6,11 +6,23 @@
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
<h4> <h4>
@if ($browser === 'Firefox' || $browser === 'Mozilla') {{ trans('index.plugin.head.1') }} @elseif ($browser === 'Chrome') @if ($browser === 'Firefox' || $browser === 'Mozilla')
{{ trans('index.plugin.head.2') }} @elseif ($browser === 'Opera') {{ trans('index.plugin.head.3') }} @elseif ($browser {{ trans('index.plugin.head.1') }}
=== 'IE') {{ trans('index.plugin.head.4') }} @elseif ($browser === 'Edge') {{ trans('index.plugin.head.5') }} @elseif @elseif ($browser === 'Chrome')
($browser === 'Safari') {{ trans('index.plugin.head.6') }} @elseif ($browser === 'Vivaldi') {{ trans('index.plugin.head.6') {{ trans('index.plugin.head.2') }}
}} @else $(".seperator").addClass("hidden"); @endif @elseif ($browser === 'Opera')
{{ trans('index.plugin.head.3') }}
@elseif ($browser === 'IE')
{{ trans('index.plugin.head.4') }}
@elseif ($browser === 'Edge')
{{ trans('index.plugin.head.5') }}
@elseif ($browser === 'Safari')
{{ trans('index.plugin.head.6') }}
@elseif ($browser === 'Vivaldi')
{{ trans('index.plugin.head.6') }}
@else
$(".seperator").addClass("hidden");
@endif
</h4> </h4>
<p class="text-muted">{{ trans('index.plugin.head.info') }}</p> <p class="text-muted">{{ trans('index.plugin.head.info') }}</p>
</div> </div>
...@@ -120,8 +132,7 @@ ...@@ -120,8 +132,7 @@
@endif @endif
<hr> <hr>
<p>@lang('index.plugin.faq.1') <p>@lang('index.plugin.faq.1')
<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), " <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), " /faq#mg-plugin ") }}">@lang('index.plugin.faq.2')</a>
/faq#mg-plugin ") }}">@lang('index.plugin.faq.2')</a>
</p> </p>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment