Skip to content

Commit

Permalink
Add deface overrides for Alchemy 7.1
Browse files Browse the repository at this point in the history
The link dialog in Alchemy 7.1 has changed.
It now uses Shoelace Tabs made out of Custom Web Components.

This keeps existing overrides. Note: That will cause a note
in Rails log about not matching overrides. Those can safely be
ignored.
  • Loading branch information
tvdeyen committed Dec 20, 2023
1 parent 7b494be commit b5493e2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- insert_bottom "#overlay_tabs" -->
<!-- insert_bottom "div#overlay_tabs" -->

<div id="overlay_tab_product_link">
<%= render "product_link" %>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- insert_bottom "sl-tab-group#overlay_tabs" -->

<sl-tab-panel name="overlay_tab_product_link">
<%= render "product_link" %>
</sl-tab-panel>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- insert_bottom "sl-tab-group#overlay_tabs" -->

<sl-tab slot="nav" panel="overlay_tab_product_link">
<%= Alchemy.t("link_overlay_tab_label.product") %>
</sl-tab>

0 comments on commit b5493e2

Please sign in to comment.