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

show room-details for admins

parent 2cc8b70e
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.
Finish editing this message first!
Please register or to comment