diff --git a/view/common/block-layout/list-of-sites.phtml b/view/common/block-layout/list-of-sites.phtml index e4f6fce..651b3ac 100644 --- a/view/common/block-layout/list-of-sites.phtml +++ b/view/common/block-layout/list-of-sites.phtml @@ -2,40 +2,55 @@ $archiveSiteHelper = $this->getHelperPluginManager()->get('archiveSiteMeta'); ?> -
-
+
- - - - - - - - - - +
+

Latest in collections

+
+
+
+
    +
  • + +
      +
    • Title
    • +
    • Artist
    • +
    • Collection
    • +
    • Date
    • +
    +
    +
    +
    +
    +

    +

    +
    +
  • getSiteMetaValues($site); - echo $this->partial('common/site-list-entry', [ - 'site' => $site, - 'showSummary' => $summaries, - 'site_meta_values' => $site_meta_values, - 'archive_collections' => $archiveSiteHelper->getCollections(), - ]); + $site_meta_values = $archiveSiteHelper->getSiteMetaValues($site); + // table body build file + echo $this->partial('common/site-list-entry', [ + 'site' => $site, + 'showSummary' => $summaries, + 'site_meta_values' => $site_meta_values, + 'archive_collections' => $archiveSiteHelper->getCollections(), + ]); endforeach; ?> - -
-
TitleArtistCollectionDate
- -
- + + +
+ endif; + ?> + + + diff --git a/view/common/site-list-entry.phtml b/view/common/site-list-entry.phtml index a96dbd7..ed8366c 100644 --- a/view/common/site-list-entry.phtml +++ b/view/common/site-list-entry.phtml @@ -1,41 +1,43 @@ summary() : null; +// ?> - - - title() ?> - - - -
- - - - - - - - - - - - - - - +
  • + + + +
    +
    - - +
    +

    - escapeHtml($summary)); ?> -
    + escapeHtml($summary)); ?> - - - + View +

    +
    +