Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
portal
Portal Maldonado
Merge requests
!15
Fix en archivo de maquetado de bloque temático
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Alejandro Lemos
requested to merge
feature_theme_enlaces_tematicos_2
into
master
1 year ago
Overview
0
Commits
2
Pipelines
0
Changes
2
0
0
Compare
master
version 1
0c227bb9
1 year ago
master (base)
and
latest version
latest version
0c227bb9
2 commits,
1 year ago
version 1
0c227bb9
2 commits,
1 year ago
2 files
+
16
−
1
Expand all files
Preferences
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
Search (e.g. *.vue) (Ctrl+P)
web/themes/custom/maldonado/templates/templates_generico/paragraph/paragraph--galeria-imagenes--default.html.twig
+
10
−
1
Options
View file @ 0c227bb9
Edit in single-file editor
Open in Web IDE
Show full file
@@ -69,7 +69,16 @@
</div>
{%
set
paragraph_id
=
paragraph.id
()
%}
{%
if
paragraph_id
is
not
empty
%}
<a
href=
"
{{
path
(
'maldonado_download_zip.download_images'
,
{
'entity_id'
:
paragraph_id
}
)
}}
"
>
Descargar todas las imagenes
</a>
<div
class=
"component-lista-descargas
{{
clase
|
join
(
' '
)
}}
"
>
<a
class=
"list__item"
href=
"
{{
path
(
'maldonado_download_zip.download_images'
,
{
'entity_id'
:
paragraph_id
}
)
}}
"
title=
"texto descriptivo"
>
<div
class=
"item__icon"
>
<span
class=
"material-icons"
>
file_download
</span>
</div>
<div
class=
"item__text"
>
<div
class=
"item__text-title"
>
Descargar todas las imágenes (.zip)
</div>
</div>
</a>
</div>
{%
endif
%}
</section>
</div>
views-view-fields--bloque-enlaces-tematicos--block-1.html.twig
0 → 100644
+
6
−
0
Options
View file @ 0c227bb9
Edit in single-file editor
Open in Web IDE
{%
set
image
=
fields.field_image.content
|
striptags
%}
{%
set
link
=
fields.field_link.content
|
striptags
|
trim
%}
<a
href=
"
{{
link
}}
"
class=
"card__item"
>
<img
src=
"
{{
image
}}
"
class=
"img-fluid"
alt=
"Imagen"
>
</a>
\ No newline at end of file
Menu
Explore
Projects
Groups
Topics
Snippets