Skip to content
Snippets Groups Projects
Commit 1c202243 authored by Serhii Myronets's avatar Serhii Myronets
Browse files

Issue #3392441 by agami4: Remove deprecated libraries, improve twig template,...

Issue #3392441 by agami4: Remove deprecated libraries, improve twig template, add new drupak version
parent a555cd9a
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ base theme: bootstrap
# The supported Drupal version.
core_version_requirement: ^8.8 || ^9
core_version_requirement: ^8.8 || ^9 || ^10
# Libraries-extend is used to attach libraries to other libraries. If the
# original library is conditionally included, the library it is extended with
......@@ -65,33 +65,12 @@ stylesheets-remove:
libraries-override:
# The library name.
core/normalize: false
# Remove jQuery UI styles
core/jquery.ui:
css:
component:
assets/vendor/jquery.ui/themes/base/core.css: false
theme:
assets/vendor/jquery.ui/themes/base/theme.css: false
core/jquery.ui.button:
css:
component:
assets/vendor/jquery.ui/themes/base/button.css: false
core/jquery.ui.dialog:
css:
component:
assets/vendor/jquery.ui/themes/base/dialog.css: false
core/jquery.ui.menu:
css:
component:
assets/vendor/jquery.ui/themes/base/menu.css: false
system/base: false
views/views.module: false
classy/file: false
like_and_dislike/behavior:
js:
js/like_and_dislike_service.js: false
like_and_dislike/icons: false
private_message/inbox_block: false
# Libraries contain CSS and JavaScript files. The libraries setting is used to
# globally add libraries, which means they will appear on every page. Libraries
......
......@@ -14,7 +14,7 @@
*/
#}
{{ attach_library('socialbase/file') }}
{% spaceless %}
{% apply spaceless %}
<span{{ attributes }}>
{% if icon_only %}
......@@ -32,4 +32,4 @@
</span>
{% endspaceless %}
{% endapply %}
{% extends "node--full.html.twig" %}
{% if display_submitted %}
{% block metainfo %}
{% block metainfo %}
{% if display_submitted %}
<header class="metainfo">
<div class="metainfo__avatar">
......@@ -27,8 +28,8 @@
{{ content.links.moderation }}
</header>
{% endblock %}
{% endif %}
{% endif %}
{% endblock %}
{# add specific fields to body for events only #}
{% block nodefull_specialfields %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment