Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
socialblue
Commits
fc22a22f
Commit
fc22a22f
authored
Mar 23, 2021
by
tBKoT
Browse files
Issue
#3205264
by tBKoT: Update profile template
parent
826df3d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/profile/profile--profile--default--sky.html.twig
View file @
fc22a22f
...
...
@@ -121,14 +121,33 @@
</div>
{%
endif
%}
{%
if
content.field_profile_profile_tag
[
'#items'
]
%}
<div
class=
"card--content-merged__list"
>
{%
if
content.field_profile_profile_tag
[
'#items'
]
and
profile_tagging_active
%}
{%
if
profile_tagging_allow_split
%}
{%
for
item
in
profile_tagging_hierarchy
%}
<div
class=
"card--content-merged__list"
>
<h5>
{{
item.title
}}
</h5>
<div
class=
"list-item__text"
>
{%
for
tag
in
item.tags
%}
<a
href=
"
{{
tag.url
}}
"
>
<div
class=
"badge badge--pill badge--large badge-default"
>
{{
tag.name
}}
</div>
</a>
{%
endfor
%}
</div>
</div>
{%
endfor
%}
{%
else
%}
<div
class=
"card--content-merged__list"
>
<h5>
{%
trans
%}
Profile tags
{%
endtrans
%}
</h5>
<div
class=
"list-item__text"
>
{%
for
item
in
content.field_profile_profile_tag
[
'#items'
]
%}
<div
class=
"badge badge--pill badge--large badge-default"
>
{{
item.entity.label
}}
</div>
{%
for
item
in
profile_tagging_hierarchy
%}
{%
for
tag
in
item.tags
%}
<a
href=
"
{{
tag.url
}}
"
>
<div
class=
"badge badge--pill badge--large badge-default"
>
{{
tag.name
}}
</div>
</a>
{%
endfor
%}
{%
endfor
%}
</div>
{%
endif
%}
</div>
{%
endif
%}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment