File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
src/bundle/Resources/views/themes/admin/user/role_assignment Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 2020 raw : true ,
2121 }]) %}
2222
23+ {% if role_assignment .usergroup is defined %}
24+ {% set assignment_link = " <a href=\"#{ibexa_url(role_assignment.userGroup.content)}\">#{ibexa_content_name(role_assignment.usergroup)|escape}</a>" %}
25+ {%- else -%}
26+ {% set assignment_link = " <a href=\"#{ibexa_url(role_assignment.user.content)}\">#{ibexa_content_name(role_assignment.user)|escape}</a>" %}
27+ {%- endif -%}
28+
2329 {% set body_row_cols = body_row_cols | merge ([
24- { content : role_assignment .usergroup is defined ? ibexa_content_name(role_assignment .usergroup ) : ibexa_content_name(role_assignment .user ) },
30+ {
31+ content : assignment_link ,
32+ raw : true ,
33+ },
2534 ]) %}
2635
2736 {% set col_raw %}
You can’t perform that action at this time.
0 commit comments