Commit 6c7c90a3 authored by Karl Hasselbring's avatar Karl Hasselbring
Browse files

Die Sprachauswahl der Suche ist auf die erkennbaren Sprachen reduziert

parent 68464a40
...@@ -7,9 +7,8 @@ ...@@ -7,9 +7,8 @@
<div id="search-lang"> <div id="search-lang">
<select id="input-lang" name="lang"> <select id="input-lang" name="lang">
<option value="all">Alle Sprachen</option> <option value="all">Alle Sprachen</option>
@foreach(LaravelLocalization::getSupportedLocales() as $localeCode => $properties) <option value="de">Deutsch</option>
<option value="{{$localeCode}}">{{{ $properties['native'] }}}</option> <option value="en">English</option>
@endforeach
</select> </select>
<label id="lang-label" for="input-lang" data-tooltip="{{ trans ('index.lang.tooltip') }}"> <label id="lang-label" for="input-lang" data-tooltip="{{ trans ('index.lang.tooltip') }}">
<i class="fa fa-globe" aria-hidden="true"></i> <i class="fa fa-globe" aria-hidden="true"></i>
......
Supports Markdown
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