Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeholder committed Jan 15, 2025
1 parent 5066932 commit 0676517
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 47 deletions.
4 changes: 1 addition & 3 deletions src/templates/_layouts/settings.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

{% set title = "System Settings"|t('commerce') %}

{% if not readOnly is defined %}
{% exit 422 %}
{% endif %}


{% if readOnly %}
{% set contentNotice = readOnlyNotice() %}
Expand Down
4 changes: 1 addition & 3 deletions src/templates/settings/emails/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

{% set fullPageForm = not readOnly %}

{% if not readOnly is defined %}
{% exit 422 %}
{% endif %}


{% if readOnly %}
{% set contentNotice = readOnlyNotice() %}
Expand Down
4 changes: 0 additions & 4 deletions src/templates/settings/gateways/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@

{% set fullPageForm = not readOnly %}

{% if not readOnly is defined %}
{% exit 422 %}
{% endif %}

{% if readOnly %}
{% set contentNotice = readOnlyNotice() %}
{% endif %}
Expand Down
4 changes: 0 additions & 4 deletions src/templates/settings/lineitemstatuses/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@

{% set fullPageForm = not readOnly %}

{% if not readOnly is defined %}
{% exit 422 %}
{% endif %}

{% if readOnly %}
{% set contentNotice = readOnlyNotice() %}
{% endif %}
Expand Down
4 changes: 1 addition & 3 deletions src/templates/settings/lineitemstatuses/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
'Yes',
]) %}

{% if not readOnly is defined %}
{% exit 422 %}
{% endif %}


{% if readOnly %}
{% set contentNotice = readOnlyNotice() %}
Expand Down
4 changes: 0 additions & 4 deletions src/templates/settings/ordersettings/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@

{% set fullPageForm = true %}

{% if not readOnly is defined %}
{% exit 422 %}
{% endif %}

{% if readOnly %}
{% set contentNotice = readOnlyNotice() %}
{% endif %}
Expand Down
4 changes: 0 additions & 4 deletions src/templates/settings/orderstatuses/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@

{% set fullPageForm = not readOnly %}

{% if not readOnly is defined %}
{% exit 422 %}
{% endif %}

{% if readOnly %}
{% set contentNotice = readOnlyNotice() %}
{% endif %}
Expand Down
4 changes: 0 additions & 4 deletions src/templates/settings/pdfs/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@

{% set fullPageForm = not readOnly %}

{% if not readOnly is defined %}
{% exit 422 %}
{% endif %}

{% if readOnly %}
{% set contentNotice = readOnlyNotice() %}
{% endif %}
Expand Down
4 changes: 1 addition & 3 deletions src/templates/settings/pdfs/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
'Yes',
]) %}

{% if not readOnly is defined %}
{% exit 422 %}
{% endif %}


{% if readOnly %}
{% set contentNotice = readOnlyNotice() %}
Expand Down
4 changes: 0 additions & 4 deletions src/templates/settings/producttypes/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

{% set fullPageForm = not readOnly %}

{% if not readOnly is defined %}
{% exit 422 %}
{% endif %}

{% if readOnly %}
{% set contentNotice = readOnlyNotice() %}
{% endif %}
Expand Down
5 changes: 1 addition & 4 deletions src/templates/settings/stores/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
{% set fullPageForm = not readOnly %}

{% set selectedSubnavItem = 'settings' %}
{% import '_includes/forms' as forms %}

{% if not readOnly is defined %}
{% exit 422 %}
{% endif %}
{% import '_includes/forms' as forms %}

{% if readOnly %}
{% set contentNotice = readOnlyNotice() %}
Expand Down
3 changes: 0 additions & 3 deletions src/templates/settings/subscriptions/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
{% set selectedItem = 'subscriptions' %}

{% set fullPageForm = not readOnly %}
{% if not readOnly is defined %}
{% exit 422 %}
{% endif %}

{% if readOnly %}
{% set contentNotice = readOnlyNotice() %}
Expand Down
4 changes: 0 additions & 4 deletions src/templates/settings/transfers/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@

{% set fullPageForm = not readOnly %}

{% if not readOnly is defined %}
{% exit 422 %}
{% endif %}

{% if readOnly %}
{% set contentNotice = readOnlyNotice() %}
{% endif %}
Expand Down

0 comments on commit 0676517

Please sign in to comment.