mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 09:43:16 +00:00
Update settings home view, fixes #1914
This commit is contained in:
parent
aba509fc6b
commit
0307be567e
1 changed files with 3 additions and 7 deletions
|
@ -42,12 +42,6 @@
|
||||||
<input type="text" class="form-control" id="name" name="name" placeholder="Your Name" value="{{Auth::user()->profile->name}}">
|
<input type="text" class="form-control" id="name" name="name" placeholder="Your Name" value="{{Auth::user()->profile->name}}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row">
|
|
||||||
<label for="username" class="col-sm-3 col-form-label font-weight-bold">Username</label>
|
|
||||||
<div class="col-sm-9">
|
|
||||||
<input type="text" class="form-control" id="username" name="username" placeholder="Username" value="{{Auth::user()->profile->username}}" readonly>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label for="website" class="col-sm-3 col-form-label font-weight-bold">Website</label>
|
<label for="website" class="col-sm-3 col-form-label font-weight-bold">Website</label>
|
||||||
<div class="col-sm-9">
|
<div class="col-sm-9">
|
||||||
|
@ -68,11 +62,12 @@
|
||||||
<div class="col-sm-9">
|
<div class="col-sm-9">
|
||||||
<select class="form-control" name="language">
|
<select class="form-control" name="language">
|
||||||
@foreach(App\Util\Localization\Localization::languages() as $lang)
|
@foreach(App\Util\Localization\Localization::languages() as $lang)
|
||||||
<option value="{{$lang}}" {{Auth::user()->language == $lang ? 'selected':''}}>{{locale_get_display_language($lang, 'en')}} - {{locale_get_display_language($lang, $lang)}}</option>
|
<option value="{{$lang}}" {{Auth::user()->language ?? 'en' == $lang ? 'selected':''}}>{{locale_get_display_language($lang, 'en')}} - {{locale_get_display_language($lang, $lang)}}</option>
|
||||||
@endforeach
|
@endforeach
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@if(config('pixelfed.enforce_account_limit'))
|
||||||
<div class="pt-3">
|
<div class="pt-3">
|
||||||
<p class="font-weight-bold text-muted text-center">Storage Usage</p>
|
<p class="font-weight-bold text-muted text-center">Storage Usage</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -92,6 +87,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
<hr>
|
<hr>
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<div class="col-12 text-right">
|
<div class="col-12 text-right">
|
||||||
|
|
Loading…
Reference in a new issue