mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-23 23:49:37 +00:00
fabc854390
- Updated existing tests now affected by my-account changes. - Updated some existing tests to more accuractly check the scenario. - Updated some code styling in SocialController. - Fixed redirects for social account flows to fit my-account. - Added test for social account attaching. - Added test for api token redirect handling.
29 lines
1.3 KiB
PHP
29 lines
1.3 KiB
PHP
@extends('layouts.simple')
|
|
|
|
@section('body')
|
|
<div class="container medium">
|
|
|
|
<div class="grid gap-xxl right-focus my-xl">
|
|
|
|
<div>
|
|
<div class="sticky-top-m">
|
|
<h5>{{ trans('preferences.my_account') }}</h5>
|
|
<nav class="active-link-list in-sidebar">
|
|
<a href="{{ url('/my-account/profile') }}" class="{{ $category === 'profile' ? 'active' : '' }}">@icon('user') {{ trans('preferences.profile') }}</a>
|
|
<a href="{{ url('/my-account/auth') }}" class="{{ $category === 'auth' ? 'active' : '' }}">@icon('security') {{ trans('preferences.auth') }}</a>
|
|
<a href="{{ url('/my-account/shortcuts') }}" class="{{ $category === 'shortcuts' ? 'active' : '' }}">@icon('shortcuts') {{ trans('preferences.shortcuts_interface') }}</a>
|
|
@if(userCan('receive-notifications'))
|
|
<a href="{{ url('/my-account/notifications') }}" class="{{ $category === 'notifications' ? 'active' : '' }}">@icon('notifications') {{ trans('preferences.notifications') }}</a>
|
|
@endif
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
@yield('main')
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
@stop |