Language improvements
Signed-off-by: Graham Campbell <graham@mineuk.com>
This commit is contained in:
committed by
Graham Campbell
parent
81bbccb3c4
commit
08a016ff2b
@@ -6,7 +6,7 @@
|
||||
<i class="icon ion-navicon"></i>
|
||||
</div>
|
||||
<span class='uppercase'>
|
||||
<i class="ion ion-person"></i> {{ trans('cachet.dashboard.user') }}
|
||||
<i class="ion ion-person"></i> {{ trans('dashboard.user.user') }}
|
||||
</span>
|
||||
</div>
|
||||
<div class='content-wrapper'>
|
||||
@@ -15,9 +15,9 @@
|
||||
@if($updated = Session::get('updated'))
|
||||
<div class='alert alert-{{ $updated ? "success" : "danger" }}'>
|
||||
@if($updated)
|
||||
<strong>Awesome.</strong> Profile updated.
|
||||
{{ sprintf("<strong>%s</strong> %s", trans('dashboard.notifications.awesome'), trans('dashboard.user.edit.success')) }}
|
||||
@else
|
||||
<strong>Whoops.</strong> Something went wrong when updating.
|
||||
{{ sprintf("<strong>%s</strong> %s", trans('dashboard.notifications.whoops'), trans('dashboard.user.edit.failure')) }}
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
@@ -25,22 +25,22 @@
|
||||
<form name='UserForm' class='form-vertical' role='form' action='/dashboard/team/{{ $user->id }}' method='POST'>
|
||||
<fieldset>
|
||||
<div class='form-group'>
|
||||
<label>Username</label>
|
||||
<label>{{ trans('forms.user.username') }}</label>
|
||||
<input type='text' class='form-control' name='username' value='{{ $user->username }}' required />
|
||||
</div>
|
||||
<div class='form-group'>
|
||||
<label>Email Address</label>
|
||||
<label>{{ trans('forms.user.email') }}</label>
|
||||
<input type='email' class='form-control' name='email' value='{{ $user->email }}' required />
|
||||
</div>
|
||||
<div class='form-group'>
|
||||
<label>Password</label>
|
||||
<label>{{ trans('forms.user.password') }}</label>
|
||||
<input type='password' class='form-control' name='password' value='' />
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<button type="submit" class="btn btn-success">Update profile</button>
|
||||
<button type="submit" class="btn btn-success">{{ trans('forms.update') }}</button>
|
||||
@if(Auth::user()->isAdmin)
|
||||
<a class='btn btn-danger' href='/dashboard/user/{{ $user->id }}/api/regen'>Revoke API Key</a>
|
||||
<a class='btn btn-danger' href='/dashboard/user/{{ $user->id }}/api/regen'>{{ trans('cachet.api.revoke') }}</a>
|
||||
@endif
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user