id == $selected_resource; ?> getDerivedClassInstance() ?> $resource->id ] ); } else { //$parameter_name is not set. Redirect to the resource's //details page: $link = $resource->getActionLink('show'); } ?>
  • level > $max_open_depth) || $hide) ? 'style="display: none;"' : ''; ?>> children)): ?> id, $resource_path)): ?> ( in_array($resource->id, $resource_path) || (!$resource_path && $resource->level < $max_open_depth) ? 'rotated' : '' ), 'style' => (in_array($resource->id, $resource_path) || (!$resource_path && $resource->level < $max_open_depth) ? 'transform: rotate(90deg)' : '' ), 'onClick' => (!$resource_path || in_array($resource->id, $resource_path) ? 'STUDIP.Resources.toggleTreeNode($(this).parent());' : '' )]) ?> id, $resource_path)): ?> > getIcon($selected ? Icon::ROLE_INFO_ALT : Icon::ROLE_CLICKABLE)->asImg( [ 'class' => 'text-bottom' ] ) ?> name) ?> children): ?> id, $resource_path)): ?> render_partial( 'sidebar/resource-tree-widget', [ 'resources' => $resource->children->orderBy('sort_position DESC, name'), 'selected_resource' => $selected_resource, 'resource_path' => $resource_path, 'hide' => ($resource_path && !in_array($resource->id, $resource_path)) ] ) ?>