Skip to content
Snippets Groups Projects
Commit e4e30d63 authored by David Siegfried's avatar David Siegfried
Browse files

try to improve perfomance on room-administration, refs #357

Merge request studip/studip!881
parent cc82e4c7
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ if ($show_user_actions) { ...@@ -75,7 +75,7 @@ if ($show_user_actions) {
$actions['0100'] = [ $actions['0100'] = [
$resource->getActionLink('files'), $resource->getActionLink('files'),
_('Dateien anzeigen'), _('Dateien anzeigen'),
Icon::create($resource->hasFiles() ? 'folder-full' : 'folder-empty') Icon::create('folder-full')
]; ];
if ($show_global_admin_actions) { if ($show_global_admin_actions) {
$actions['0110'] = [ $actions['0110'] = [
......
<? if ($rooms): ?> <? if ($rooms): ?>
<table class="default sortable-table rooms-list"> <table class="default sortable-table rooms-list">
<colgroup>
<col style="width: 70%">
<col style="width: 10%">
<col>
<col style="width: 20px">
</colgroup>
<thead> <thead>
<tr> <tr>
<th data-sort="text"><?= _('Name') ?></th> <th data-sort="text"><?= _('Name') ?></th>
<th data-sort="number"><?= _('Sitzplätze') ?></th> <th data-sort="number"><?= _('Sitzplätze') ?></th>
<th data-sort="text"><?= _('Raumkategorie') ?></th> <th data-sort="text"><?= _('Raumkategorie') ?></th>
<th data-sort="text"><?= _('Raumtyp') ?></th>
<th class="actions"><?= _('Aktionen') ?></th> <th class="actions"><?= _('Aktionen') ?></th>
</tr> </tr>
</thead> </thead>
...@@ -38,7 +43,6 @@ ...@@ -38,7 +43,6 @@
'show_room_picture' => true, 'show_room_picture' => true,
'additional_columns' => [ 'additional_columns' => [
$room->category->name, $room->category->name,
$room->room_type,
] ]
] ]
) ?> ) ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment