if ($location): ?>
if ((string)$location->description !== '') : ?>
= _('Beschreibung und Hinweise') ?>
= htmlReady($location->description) ?>
endif ?>
if (Request::isDialog()) : ?>
if ($geo_coordinates_object instanceof ResourceProperty) : ?>
= \Studip\LinkButton::create(
_('Zum Lageplan'),
ResourceManager::getMapUrlForResourcePosition($geo_coordinates_object),
['target' => '_blank']
) ?>
if($location->userHasPermission(User::findCurrent(), 'admin')) : ?>
= \Studip\LinkButton::createEdit(
_('Bearbeiten'),
$location->getActionURL('edit'),
[
'data-dialog' => 'size=auto'
]
) ?>
endif ?>
endif ?>
endif ?>
$property_groups = $location->getGroupedProperties($other_properties) ?>
if (count($property_groups)): ?>
= $this->render_partial(
'resources/resource/_standard_properties_display_part.php',
[
'property_groups' => $property_groups
]
) ?>
endif ?>
$resource_folder = $location->getFolder(); ?>
if ($resource_folder && $resource_folder->getFiles()): ?>
= $this->render_partial('files/_files_thead') ?>
foreach ($resource_folder->getFiles() as $file): ?>
if ($file->isVisible($GLOBALS['user']->id)) : ?>
= $this->render_partial(
'files/_fileref_tr',
[
'file' => $file,
'current_folder' => $resource_folder,
'last_visitdate' => time()
]
) ?>
endif ?>
endforeach ?>
endif ?>
if (count($location->children)): ?>
endif ?>
endif ?>