forked from miguel456/rbrecruiter
Team page skeleton
This commit is contained in:
parent
982854d5c6
commit
7c0c244e21
|
@ -299,6 +299,12 @@ return [
|
|||
'url' => '/hr/players',
|
||||
'can' => 'admin.userlist'
|
||||
],
|
||||
[
|
||||
'text' => 'm_teams',
|
||||
'icon' => 'fas fa-user-friends',
|
||||
'url' => 'teams',
|
||||
'can' => 'teams.view'
|
||||
],
|
||||
[
|
||||
'text' => 'sm_hiring_man',
|
||||
'icon' => 'far fa-calendar-plus',
|
||||
|
|
|
@ -12,6 +12,20 @@ class TeamSeeder extends Seeder
|
|||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
Permission::create([
|
||||
'name' => 'teams.user.view.own'
|
||||
]);
|
||||
|
||||
Permission::create([
|
||||
'name' => 'teams.admin.view.all'
|
||||
]);
|
||||
|
||||
// Has access to the teams feature
|
||||
Permission::create([
|
||||
'name' => 'teams.view'
|
||||
]);
|
||||
|
||||
Permission::create([
|
||||
'name' => 'teams.admin.create',
|
||||
]);
|
||||
|
|
|
@ -605,6 +605,13 @@ return [
|
|||
'max_chars' => 'max characters', // Context: A number is added before max characters
|
||||
'post' => 'Post', // Context: Post as in post comment
|
||||
|
||||
],
|
||||
|
||||
|
||||
'teams' => [
|
||||
|
||||
'm_teams_page' => 'Teams'
|
||||
|
||||
]
|
||||
|
||||
// ==================== END OF MAIN I18N FILE ======================
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
@extends('adminlte::page')
|
||||
|
||||
@section('title', config('app.name') . ' | ' . __('messages.teams.m_teams_page'))
|
||||
|
||||
@section('content_header')
|
||||
<h1>{{config('app.name')}} / {{__('messages.teams.m_teams_page')}}</h1>
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
|
||||
@stop
|
Loading…
Reference in New Issue