fix doc
This commit is contained in:
@@ -7,6 +7,7 @@ $canWriteGruppi = Auth::user()->canManage('gruppi');
|
||||
$canDeleteGruppi = Auth::user()->canDelete('gruppi');
|
||||
$columnLabels = [
|
||||
'nome' => 'Nome',
|
||||
'anno_fondazione' => 'Anno Fond.',
|
||||
'descrizione' => 'Descrizione',
|
||||
'diocesi' => 'Diocesi',
|
||||
'livello' => 'Livello',
|
||||
@@ -104,6 +105,9 @@ $entityType = $entityType ?? 'gruppi';
|
||||
@if(in_array('nome', $visibleColumns))
|
||||
<th data-sortable="true" data-column="nome" onclick="sortTable('nome')" style="cursor:pointer;">Nome <i class="fas fa-sort float-right text-muted"></i></th>
|
||||
@endif
|
||||
@if(in_array('anno_fondazione', $visibleColumns))
|
||||
<th style="width: 120px;" data-column="anno_fondazione">Anno Fond.</th>
|
||||
@endif
|
||||
@if(in_array('descrizione', $visibleColumns))
|
||||
<th data-sortable="true" data-column="descrizione" onclick="sortTable('descrizione')" style="cursor:pointer;">Descrizione <i class="fas fa-sort float-right text-muted"></i></th>
|
||||
@endif
|
||||
@@ -157,6 +161,9 @@ $entityType = $entityType ?? 'gruppi';
|
||||
</span>
|
||||
</td>
|
||||
@endif
|
||||
@if(in_array('anno_fondazione', $visibleColumns))
|
||||
<td>{{ $gruppo->anno_fondazione ?? '-' }}</td>
|
||||
@endif
|
||||
@if(in_array('descrizione', $visibleColumns))
|
||||
<td>{{ Str::limit($gruppo->descrizione, 50) ?: '-' }}</td>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user