Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
socialblue
Commits
757284ec
Commit
757284ec
authored
Mar 29, 2021
by
Serhii Myronets
Browse files
Issue
#3205264
by agami4: Improve HTML structure for the tag block
parent
fc22a22f
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/profile/profile--profile--default--sky.html.twig
View file @
757284ec
...
...
@@ -137,18 +137,18 @@
{%
endfor
%}
{%
else
%}
<div
class=
"card--content-merged__list"
>
<h5>
{%
trans
%}
Profile tags
{%
endtrans
%}
</h5>
<div
class=
"list-item__text"
>
{%
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>
<h5>
{%
trans
%}
Profile tags
{%
endtrans
%}
</h5>
<div
class=
"list-item__text"
>
{%
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
%}
{%
endfor
%}
</div>
</div>
{%
endif
%}
</div>
{%
endif
%}
{%
if
content.social_tagging
[
'#items'
]
and
social_tagging_profile_active
%}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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