42 lines
1.0 KiB
PHTML
42 lines
1.0 KiB
PHTML
<?php
|
|
$summary = $showSummary ? $site->summary() : null;
|
|
?>
|
|
|
|
<tr class="_expand_site_item">
|
|
<td>
|
|
<?= $site->title() ?>
|
|
</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): ?>
|
|
<img src="<?= $site_meta_values['thumbnail']; ?>" />
|
|
<?php endif; ?>
|
|
</td>
|
|
<td colspan="3">
|
|
<?php if ($summary): ?>
|
|
<?php echo nl2br($this->escapeHtml($summary)); ?>
|
|
<br />
|
|
<?php endif; ?>
|
|
<button class="go_to_site_button"
|
|
onclick="window.location.href = '<?= $site->siteUrl() ?>'">
|
|
View
|
|
</button>
|
|
</td>
|
|
</tr>
|