You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.9 KiB

@extends('layouts.app')
7 years ago
@section('content')
@foreach ($groups as $group)
<section class="module-container">
<header>
<div class="section-title">
7 years ago
{{ __($group->title) }}
7 years ago
</div>
</header>
<table class="table table-hover">
<thead>
<tr>
7 years ago
<th>{{ __('app.settings.label') }}</th>
<th style="width: 60%;">{{ __('app.settings.value') }}</th>
<th class="text-center" style="width: 75px;">{{ __('app.settings.edit') }}</th>
7 years ago
</tr>
</thead>
<tbody>
@if (count($group->settings) > 0)
@foreach ($group->settings as $setting)
<tr>
7 years ago
<td>{{ __($setting->label) }}</td>
7 years ago
<td>
{!! $setting->list_value !!}
7 years ago
</td>
<td class="text-center">
@if((bool)$setting->system !== true)
7 years ago
<a href="{!! route('settings.edit', ['id' => $setting->id], false) !!}" title="{{ __('app.settings.edit') }} {!! $setting->label !!}" class="secondary"><i class="fa fa-pencil"></i></a>
7 years ago
@endif
</td>
</tr>
@endforeach
@else
<tr>
<td colspan="3" class="form-error text-center">
7 years ago
<strong>{{ __('app.settings.no_items') }}</strong>
7 years ago
</td>
</tr>
@endif
</tbody>
</table>
</section>
@endforeach
@endsection