Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions CatalogModule/Pages/Catalog/Components/ProductControl.latte
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@


{if (isset($showAdd) && $showAdd == $entity->id) || (isset($showError) && $showError == $entity->id)}
{snippet add}
{if (isset($showAdd) && $showAdd == $entity->id) || (isset($showError) && $showError == $entity->id)}
<div class="modal fade" id="addModal" style="width: 800px; margin-left: -400px;">
<div class="modal-header">
<a href="{link this}" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
Expand Down Expand Up @@ -33,8 +31,8 @@
window.location = {link this};
});
</script>
{/if}
{/snippet}
{/if}

{cache [$entity->id, $mode, $presenter->lang]}
{if $mode === 'table'}
Expand Down