Skip to content
Snippets Groups Projects

Issue #3347672: Create new SDC component for Umami (card view mode)

Issue #3347672: Create new SDC component for Umami (card view mode)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
70 set classes = [
71 'node',
72 'node--type-' ~ node.bundle|clean_class,
73 node.isPromoted() ? 'node--promoted',
74 node.isSticky() ? 'node--sticky',
75 not node.isPublished() ? 'node--unpublished',
76 view_mode ? 'node--view-mode-' ~ view_mode|clean_class,
77 'umami-card--alt',
78 ]
79 %}
80 {{ attach_library('umami/classy.node') }}
70 81
71 {% block libraries %}
72 {{ attach_library('umami/view-mode-card-common-alt') }}
73 {% endblock %}
82 {% embed "umami:card" with { attributes: attributes.addClass(classes) } %}
  • Gaurav added 1 commit

    added 1 commit

    • b8454f83 - Create new SDC component for Umami

    Compare with previous version

  • 102
    103 </article>
    81 {% embed "umami:card" with { attributes: attributes.addClass(classes) } %}
    82 {% block content %}
    83 {% include "umami:title" with {
    84 attributes: title_attributes.addClass('umami-card__title'),
    85 label,
    86 title_prefix,
    87 title_suffix,
    88 } only %}
    89 <div{{content_attributes.addClass('umami-card__content')}}>
    90 {{ content }}
    91 </div>
    92 {% include "umami:read-more" with {
    93 url,
    94 text: 'View'|t ~ ' ' ~ node.type.entity.label()|t,
  • Ivan Berdinsky mentioned in merge request !4651 (closed)

    mentioned in merge request !4651 (closed)

  • added 1 commit

    • 118db78b - Added translatable readmore label(removed only)

    Compare with previous version

  • Ivan Berdinsky added 25 commits

    added 25 commits

    Compare with previous version

  • Ivan Berdinsky added 1 commit

    added 1 commit

    Compare with previous version

  • Ivan Berdinsky added 1 commit

    added 1 commit

    Compare with previous version

  • Ivan Berdinsky mentioned in merge request !4695 (closed)

    mentioned in merge request !4695 (closed)

  • merged

  • Please register or sign in to reply
    Loading