WIP: Road to 1.0.0 #1

Draft
miguel456 wants to merge 123 commits from develop into master
4 changed files with 40 additions and 0 deletions
Showing only changes of commit 7c0c244e21 - Show all commits

View File

@ -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',

View File

@ -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',
]);

View File

@ -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 ======================

View 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