{{-- Användare (DESIGN.md Page patterns 2, list page; #2957 slice 6b, card #3020). Rendered by user.index (a company's own users, Ditt konto) and by admin.user.index (every user, with the company column and admin edit links). UserController@index hands over the same data as before: $data (collection of users), $normal_user (true on user.index) and $filter. admin.user.index carries the admin back link and the Kunder tabs (slice 12, card #3098). The statistics box that used to sit beside the list is gone (DESIGN.md: no stats box on pages that are not about statistics). --}} @extends('layouts.nuhet') @php $normalUser = $normal_user === true; $title = $normalUser ? __('navigation.company_users') : __('user.list.listTitle'); @endphp @section('_pageTitle', __('user.index.pageTitle')) @section('pagename', $title) @section('page') @unless ($normalUser) @include('partials.nh-admin-back') @endunless
{{ $normalUser ? __('user.nh.indexLead') : __('user.nh.adminLead') }}