]> BookStack Code Mirror - bookstack/blob - resources/views/users/preferences/index.blade.php
Merge pull request #4604 from BookStackApp/editor_trim_enhancement
[bookstack] / resources / views / users / preferences / index.blade.php
1 @extends('layouts.simple')
2
3 @section('body')
4     <div class="container small my-xl">
5
6         <section class="card content-wrap auto-height items-center justify-space-between gap-m flex-container-row wrap">
7             <div class="flex min-width-m">
8                 <h2 class="list-heading">{{ trans('preferences.shortcuts_interface') }}</h2>
9                 <p class="text-muted">{{ trans('preferences.shortcuts_overview_desc') }}</p>
10             </div>
11             <div class="text-right">
12                 <a href="{{ url('/preferences/shortcuts') }}" class="button outline">{{ trans('common.manage') }}</a>
13             </div>
14         </section>
15
16         @if(!user()->isGuest() && userCan('receive-notifications'))
17             <section class="card content-wrap auto-height items-center justify-space-between gap-m flex-container-row wrap">
18                 <div class="flex min-width-m">
19                     <h2 class="list-heading">{{ trans('preferences.notifications') }}</h2>
20                     <p class="text-muted">{{ trans('preferences.notifications_desc') }}</p>
21                 </div>
22                 <div class="text-right">
23                     <a href="{{ url('/preferences/notifications') }}" class="button outline">{{ trans('common.manage') }}</a>
24                 </div>
25             </section>
26         @endif
27
28         @if(!user()->isGuest())
29             <section class="card content-wrap auto-height items-center justify-space-between gap-m flex-container-row wrap">
30                 <div class="flex min-width-m">
31                     <h2 class="list-heading">{{ trans('settings.users_edit_profile') }}</h2>
32                     <p class="text-muted">{{ trans('preferences.profile_overview_desc') }}</p>
33                 </div>
34                 <div class="text-right">
35                     <a href="{{ user()->getEditUrl() }}" class="button outline">{{ trans('common.manage') }}</a>
36                 </div>
37             </section>
38         @endif
39
40     </div>
41 @stop