2021-05-08 14:09:02 +02:00
|
|
|
<?php
|
|
|
|
$summary = $showSummary ? $site->summary() : null;
|
|
|
|
?>
|
2021-05-24 18:13:23 +02:00
|
|
|
|
2021-05-31 15:50:08 +02:00
|
|
|
<tr class="_expand_site_item">
|
2021-05-08 14:09:02 +02:00
|
|
|
<td>
|
2021-05-31 15:50:08 +02:00
|
|
|
<?= $site->title() ?>
|
2021-05-08 14:09:02 +02:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php if ($site_meta_values != null): ?>
|
|
|
|
<?= $site_meta_values['currator']; ?><br />
|
|
|
|
<?php endif; ?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php if ($site_meta_values != null): ?>
|
|
|
|
<?= $archive_collections[$site_meta_values['collection']]; ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php if ($site_meta_values != null): ?>
|
|
|
|
<?= $site_meta_values['project_date']; ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr style="display:none">
|
|
|
|
<td>
|
|
|
|
<?php if ($site_meta_values != null): ?>
|
2021-05-31 15:50:08 +02:00
|
|
|
<img src="<?= $site_meta_values['thumbnail']; ?>" />
|
2021-05-08 14:09:02 +02:00
|
|
|
<?php endif; ?>
|
|
|
|
</td>
|
|
|
|
<td colspan="3">
|
|
|
|
<?php if ($summary): ?>
|
|
|
|
<?php echo nl2br($this->escapeHtml($summary)); ?>
|
2021-05-31 15:50:08 +02:00
|
|
|
<br />
|
2021-05-08 14:09:02 +02:00
|
|
|
<?php endif; ?>
|
2021-05-31 15:50:08 +02:00
|
|
|
<?php echo $this->hyperlink($site->title(), $site->siteUrl(), ['class' => 'site-link']); ?>
|
2021-05-08 14:09:02 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|