We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc15657 commit 969d2ecCopy full SHA for 969d2ec
src/bundle/Resources/views/themes/admin/ui/component/user/user.html.twig
@@ -1,4 +1,5 @@
1
{% set user_name = ibexa_content_name(user) %}
2
+{% set is_link = is_link is defined ? is_link : true %}
3
4
{% if user_name_extra_data is defined %}
5
{% set user_name = user_name ~ ' ' ~ user_name_extra_data %}
@@ -20,7 +21,7 @@
20
21
{% set user_path = path('ibexa.user.profile.view', { userId: user.id }) %}
22
{% endif %}
23
- {% if user_path is defined %}
24
+ {% if user_path is defined and is_link %}
25
<a href="{{ user_path }}" class="ibexa-user-name__text">{{ user_name }}</a>
26
{% else %}
27
<span class="ibexa-user-name__text">{{ user_name }}</span>
0 commit comments