Skip to content

Commit

Permalink
Merge branch '4.5' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM committed Nov 16, 2023
2 parents 556620e + cf57016 commit 3716205
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{% if content_type_edit_anchor_menu|default([])|length > 1 %}
{% for item in content_type_edit_anchor_menu %}
{% set items = items|merge([{
target_id: item.attributes['data-target-id'],
target_id: item.attributes['data-target-id']|lower|slug,
label: item.label is defined ? item.label|trans : item.name,
}]) %}
{% endfor %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class: (attr.class|default('')
~ ' ibexa-anchor-navigation-sections__section ibexa-anchor-navigation__section'
)|trim,
'data-id': section_id,
'data-id': '#' ~ section_id|lower|slug,
}) %}

<div {{ html.attributes(attr) }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% block form %}
{{ form_start(form) }}
<div class="ibexa-anchor-navigation-sections ibexa-assign">
<section class="ibexa-anchor-navigation-sections__section ibexa-anchor-navigation__section ibexa-assign__section" data-id="#Users-and-Groups">
<section class="ibexa-anchor-navigation-sections__section ibexa-anchor-navigation__section ibexa-assign__section" data-id="#users-and-groups">
<div class="card ibexa-card ibexa-card--light">
<h2 class="ibexa-card__header">
{{ 'role_assignment.view.add.panel.users_and_groups.title'|trans|desc('Users and Groups') }}
Expand Down Expand Up @@ -93,7 +93,7 @@
</div>
</div>
</section>
<section class="ibexa-anchor-navigation-sections__section ibexa-anchor-navigation__section ibexa-assign__section" data-id="#Limitations">
<section class="ibexa-anchor-navigation-sections__section ibexa-anchor-navigation__section ibexa-assign__section" data-id="#limitations">
<div class="card ibexa-card ibexa-card--light">
<h2 class="ibexa-card__header">
{{ 'role_assignment.view.add.panel.limitations.title'|trans|desc('Limitations') }}
Expand Down

0 comments on commit 3716205

Please sign in to comment.