Skip to content

Commit

Permalink
Actions: add target on dropdowns actions 2le/crudit#440 (#473)
Browse files Browse the repository at this point in the history
* Actions: add target on dropdowns actions 2le/crudit#440

* Delete dump

* Fix safer permissions
  • Loading branch information
valentin-helies authored Sep 11, 2024
1 parent 27301ac commit 2e44ec6
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@
{% elseif not action.disabled %}
href="{{ action.url ?? path(action.path.route, params) }}"
{% endif %}

{% if action.target is defined and action.target %}
target="{{ action.target }}"
{% endif %}
>
{% if action.icon %}
<i class="{{ action.icon.cssClass }}"></i>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
{% elseif not action.disabled %}
href="{{ action.url ?? path(action.path.route, params) }}"
{% endif %}

{% if action.target is defined and action.target %}
target="{{ action.target }}"
{% endif %}
>
{% if action.icon %}
<i class="{{ action.icon.cssClass }}"></i>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
{% elseif not action.disabled %}
href="{{ path(action.path.route, action.path.params({'id': line.id})) }}"
{% endif %}

{% if action.target is defined and action.target %}
target="{{ action.target }}"
{% endif %}
>
{% if action.icon %}
<i class="{{ action.icon.cssClass }}"></i>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
{% elseif not action.disabled %}
href="{{ path(action.path.route, action.path.params({'id': line.id})) }}"
{% endif %}

{% if action.target is defined and action.target %}
target="{{ action.target }}"
{% endif %}
>
{% if action.icon %}
<i class="{{ action.icon.cssClass }}"></i>
Expand Down
Empty file modified src/Resources/views/field/doctrine_entity.html.twig
100755 → 100644
Empty file.
1 change: 0 additions & 1 deletion src/Test/TestHelperTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public function testMenuNav(): void
}
}
}
dump($this->stopwatch);
}

protected function buildClient(): KernelBrowser
Expand Down

0 comments on commit 2e44ec6

Please sign in to comment.