@extends('app') @include('nav-bar') @include('left-menu') @section('content') @include('speedbar') @if($groupSubRelations->new == 1) @include('list-elements', [ 'actions' => [ trans('variables.elements_list') => urlForFunctionLanguage($lang, ''), trans('variables.add_subject') => urlForFunctionLanguage($lang, 'createGallerySubject/creategallerysubject'), trans('variables.elements_basket') => urlForFunctionLanguage($lang, 'gallerySubjectCart/gallerysubjectcart') ] ]) @else @include('list-elements', [ 'actions' => [ trans('variables.elements_list') => urlForFunctionLanguage($lang, ''), trans('variables.elements_basket') => urlForFunctionLanguage($lang, 'gallerySubjectCart/gallerysubjectcart') ] ]) @endif @if(!empty($gallery_subject_list))
| {{trans('variables.title_table')}} | {{trans('variables.edit_table')}} | @if($groupSubRelations->active == 1){{trans('variables.active_table')}} | @endif{{trans('variables.position_table')}} | @if($groupSubRelations->del_to_rec == 1){{trans('variables.delete_table')}} | @endif|
|---|---|---|---|---|---|
| {{!empty(IfHasName($one_gallery_subject_list->gallery_subject_id, $lang_id, 'gallery_subject')) ? IfHasName($one_gallery_subject_list->gallery_subject_id, $lang_id, 'gallery_subject') : trans('variables.another_name')}} | @foreach($lang_list as $lang_key => $one_lang) gallery_subject_id, $one_lang->id, 'gallery_subject')) ? '' : 'class=negative'}}>{{trans('variables.edit_'.$one_lang->lang)}} @endforeach | @if($groupSubRelations->active == 1){{$one_gallery_subject_list->gallerySubjectId->active == 1 ? '+' : '-'}} | @endif@if($groupSubRelations->del_to_rec == 1) @if(empty(IfHasChildActive($one_gallery_subject_list->gallery_subject_id, 'gallery_subject')) && empty(CheckIfSubjectHasItems('gallery', $one_gallery_subject_list->gallery_subject_id))) | @else | {{trans('variables.delete_inner_modules')}} | @endif @endif
| {!! $gallery_subject_id_list->links() !!} | |||||