Skip to content
Snippets Groups Projects
Commit 3ebea96b authored by David Siegfried's avatar David Siegfried Committed by Jan-Hendrik Willms
Browse files

show room-details for admins

parent 616ac2c1
No related branches found
No related tags found
No related merge requests found
...@@ -332,7 +332,8 @@ class Resources_RoomPlanningController extends AuthenticatedController ...@@ -332,7 +332,8 @@ class Resources_RoomPlanningController extends AuthenticatedController
'id' => 'export-resource-bookings-action' 'id' => 'export-resource-bookings-action'
] ]
); );
}
if($GLOBALS['perm']->have_perm('admin')) {
if ($this->resource instanceof Room) { if ($this->resource instanceof Room) {
$actions->addLink( $actions->addLink(
_('Raumeigenschaften anzeigen'), _('Raumeigenschaften anzeigen'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment