mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
56 lines
1.5 KiB
PHP
56 lines
1.5 KiB
PHP
@extends('translation::layout')
|
|
|
|
@section('body')
|
|
|
|
@if(count($languages))
|
|
|
|
<div class="panel w-1/2">
|
|
|
|
<div class="panel-header">
|
|
|
|
{{ __('translation::translation.languages') }}
|
|
|
|
<div class="flex flex-grow justify-end items-center">
|
|
|
|
<a href="{{ route('languages.create') }}" class="button">
|
|
{{ __('translation::translation.add') }}
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
<tr>
|
|
<th>{{ __('translation::translation.language_name') }}</th>
|
|
<th>{{ __('translation::translation.locale') }}</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
@foreach($languages as $language => $name)
|
|
<tr>
|
|
<td>
|
|
{{ $name }}
|
|
</td>
|
|
<td>
|
|
<a href="{{ route('languages.translations.index', $language) }}">
|
|
{{ $language }}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
@endsection |