Sha256: f264e4404f1ebee9fe3428c6fb97bb2d348aad8f21f504a912ff089a2c520a5c
Contents?: true
Size: 902 Bytes
Versions: 8
Compression:
Stored size: 902 Bytes
Contents
{%- comment -%} Modal con imagen @param :image [Image] la imagen que queremos en el modal, contiene url y alt text {%- endcomment -%} {% assign alt = include.image.name | strip_html | escape %} {% assign src = include.image.url | strip_html | component_escape %} {% assign extra = 'data-action="click->modal#show"' %} {% capture body %} <img class="background-white mw-100" title="{{ alt }}" alt="{{ alt }}" src="{{ src }}"> {% endcapture %} <div class="{{ include.extra }} px-1" data-controller="modal"> {% include embed_responsive.html x=16 y=9 src=src alt=alt extra=extra width=300 img_class="cursor-pointer min-w-100px w-100 object-fit-cover" %} {% include activity_pub/generic_modal.html header_class="text-white" body=body body_class="d-flex justify-content-center" footer_class="d-none" content_class="background-transparent border-0" %} </div>
Version data entries
8 entries across 8 versions & 1 rubygems