1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-27 10:16:47 +00:00
pixelfed/resources/views/site/language.blade.php

27 lines
906 B
PHP
Raw Normal View History

2019-09-20 02:51:29 +00:00
@extends('layouts.app')
2018-06-05 07:49:05 +00:00
2019-09-20 02:51:29 +00:00
@section('content')
2019-09-20 02:52:58 +00:00
@php($current = App::getLocale())
2019-09-20 02:51:29 +00:00
<div class="container mt-5">
<div class="col-12">
<p class="font-weight-bold text-lighter text-uppercase">{{__('site.language')}}</p>
<div class="card border shadow-none">
<div class="card-body row pl-md-5 ml-md-5">
@foreach(App\Util\Localization\Localization::languages() as $lang)
<div class="col-12 col-md-4 mb-2">
2019-10-15 04:33:41 +00:00
<a href="/i/lang/{{$lang}}" class="{{$current == $lang ? 'font-weight-bold text-primary' : 'text-muted'}} pr-3 b-3">
{{locale_get_display_language($lang, $lang)}}
<span class="small text-lighter">({{locale_get_display_language($lang, 'en')}})</span>
</a>
2019-09-20 02:51:29 +00:00
</div>
@endforeach
</div>
</div>
2018-06-05 07:49:05 +00:00
</div>
2019-09-20 02:51:29 +00:00
</div>
2018-06-05 07:49:05 +00:00
@endsection
@push('meta')
2019-09-20 02:51:29 +00:00
<meta property="og:description" content="Change Site Language">
2018-06-05 07:49:05 +00:00
@endpush