From c56464e08680f116375b98aa4c10149d8b2c29d6 Mon Sep 17 00:00:00 2001 From: buttle Date: Tue, 26 Oct 2021 12:22:55 +0200 Subject: [PATCH] replaces php site list with vue component --- view/common/block-layout/list-of-sites.phtml | 71 +++++--------------- 1 file changed, 17 insertions(+), 54 deletions(-) diff --git a/view/common/block-layout/list-of-sites.phtml b/view/common/block-layout/list-of-sites.phtml index 9a9510b..543a631 100644 --- a/view/common/block-layout/list-of-sites.phtml +++ b/view/common/block-layout/list-of-sites.phtml @@ -1,60 +1,23 @@ getHelperPluginManager()->get('archiveSiteMeta'); ?> -
-
-

Latest in collections

-
-
-
-
    -
  • - -
      -
    • Title
    • -
    • Artist
    • -
    • Collection
    • -
    • Date
    • -
    -
    -
    -
    -
    -

    -

    -
    -
  • +getSiteMetaValues($site); + $site_meta_values['url'] = $site->siteUrl(); + $site_meta_values['title'] = $site->title(); + $site_meta_values['summay'] = nl2br($this->escapeHtml($site->summary())); + array_push($data, $site_meta_values); +} +?> - 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; - ?> -
-
-
- -
+ +
+
+ + +>