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.team.profile') }}
|
||||
</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,27 +25,27 @@
|
||||
<form name='UserForm' class='form-vertical' role='form' action='/dashboard/user' 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='{{ Auth::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='{{ Auth::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>
|
||||
<hr />
|
||||
<div class='form-group'>
|
||||
<label>API Key</label>
|
||||
<label>{{ trans('forms.user.api-key') }}</label>
|
||||
<input type='text' class='form-control' name='api_key' disabled value='{{ Auth::user()->api_key }}' />
|
||||
<span class='help-block'>Regenerating your API key will revoke all existing applications.</span>
|
||||
<span class='help-block'>{{ trans('forms.user.api-key-help') }}</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<button type="submit" class="btn btn-success">Update profile</button>
|
||||
<a href='/dashboard/user/{{ Auth::user()->id }}/api/regen' class='btn btn-warning'>Regenerate API Key</a>
|
||||
<button type="submit" class="btn btn-success">{{ trans('forms.update') }}</button>
|
||||
<a href='/dashboard/user/{{ Auth::user()->id }}/api/regen' class='btn btn-warning'>{{ trans('cachet.api.regenerate') }}</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user