diff --git a/CHANGELOG.md b/CHANGELOG.md index 10614ae..3997c51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Stanford News +8.x-2.2 +-------------------------------------------------------------------------------- +_Release Date: 2020-06-17_ + +- Fixed module dependency name in the info.yml file (#84) (e2fe84c) +- Changed the newsletter signup block category. (#83) (9c26816) +- D8CORE-1958: changing a span to a div for validation fix (#82) (e97cdff) + 8.x-2.1 -------------------------------------------------------------------------------- _Release Date: 2020-05-20_ diff --git a/src/Plugin/Block/SignupBlock.php b/src/Plugin/Block/SignupBlock.php index 778ef38..6c480e1 100644 --- a/src/Plugin/Block/SignupBlock.php +++ b/src/Plugin/Block/SignupBlock.php @@ -14,7 +14,7 @@ * @Block( * id = "signup_block", * admin_label = @Translation("Newsletter Signup"), - * category = @Translation("Newsletter Signup"), + * category = @Translation("Stanford News"), * ) */ class SignupBlock extends BlockBase implements BlockPluginInterface { diff --git a/stanford_news.info.yml b/stanford_news.info.yml index 0718443..900cdf3 100644 --- a/stanford_news.info.yml +++ b/stanford_news.info.yml @@ -3,7 +3,7 @@ type: module description: 'Stanford news items and views.' core_version_requirement: ^8.8 || ^9 package: Stanford -version: 8.x-2.1 +version: 8.x-2.2 dependencies: - allowed_formats:allowed_formats - auto_entitylabel:auto_entitylabel @@ -32,7 +32,7 @@ dependencies: - paragraphs:paragraphs - pathauto:pathauto - rabbit_hole:rabbit_hole - - rabbit_home:rh_node + - rabbit_hole:rh_node - stanford_media:stanford_media - stanford_text_editor:stanford_text_editor - taxonomy_menu:taxonomy_menu @@ -43,7 +43,6 @@ dependencies: - views_block_filter_block:views_block_filter_block - views_infinite_scroll:views_infinite_scroll - views_taxonomy_term_name_depth:views_taxonomy_term_name_depth + component-libraries: - news: - paths: - - templates/components + news: { paths: [templates/components] } diff --git a/templates/sections/news-byline-social.html.twig b/templates/sections/news-byline-social.html.twig index 4b5484e..50d0ccb 100644 --- a/templates/sections/news-byline-social.html.twig +++ b/templates/sections/news-byline-social.html.twig @@ -11,11 +11,11 @@ {% if content.su_news_publishing_date or content.su_news_byline %}