adds common block renderer
This commit is contained in:
parent
07a791c4ff
commit
1ef93c2884
|
@ -96,12 +96,10 @@ class ArchiveSiteMeta extends AbstractBlockLayout
|
||||||
|
|
||||||
public function render(PhpRenderer $view, SitePageBlockRepresentation $block)
|
public function render(PhpRenderer $view, SitePageBlockRepresentation $block)
|
||||||
{
|
{
|
||||||
/*
|
return $view->partial('common/block-layout/site-meta', [
|
||||||
$controller->layout()->setVariable(
|
'artist' =>$block->dataValue('currator'),
|
||||||
'content',
|
'project_date' => $block->dataValue('project_date'),
|
||||||
$this->viewRenderer->render('my/email/view_script.phtml');
|
'collection' => $block->dataValue('collection'),
|
||||||
);
|
]);
|
||||||
*/
|
|
||||||
return "";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<?= $artist ?>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<?= $project_date ?>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<?= $collection ?>
|
||||||
|
</li>
|
||||||
|
</ul>
|
Loading…
Reference in New Issue