-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from etienne-monsieurbiz/feature/settings-per-…
…canal Setting per channel
- Loading branch information
Showing
27 changed files
with
643 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 5 additions & 84 deletions
89
dist/templates/bundles/SyliusAdminBundle/Channel/_form.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,5 @@ | ||
{{ form_errors(form) }} | ||
<div class="ui two column stackable grid"> | ||
<div class="column"> | ||
<h4 class="ui top attached large header">{{ 'sylius.ui.general'|trans }}</h4> | ||
<div class="ui attached segment"> | ||
{{ form_errors(form) }} | ||
<div class="fields"> | ||
<div class="six wide field"> | ||
{{ form_row(form.code) }} | ||
</div> | ||
<div class="seven wide field"> | ||
{{ form_row(form.name) }} | ||
</div> | ||
<div class="three wide field"> | ||
{{ form_row(form.color) }} | ||
</div> | ||
</div> | ||
<div class="ui hidden divider"></div> | ||
{{ form_row(form.enabled) }} | ||
</div> | ||
<div class="ui attached segment"> | ||
<div class="field"> | ||
{{ form_label(form.hostname) }} | ||
<div class="ui labeled input"> | ||
<div class="ui label">https://</div> | ||
{{ form_widget(form.hostname) }} | ||
</div> | ||
{{ form_errors(form.hostname) }} | ||
</div> | ||
{{ form_row(form.contactEmail) }} | ||
{{ form_row(form.description, {'attr': {'rows' : '3'}}) }} | ||
</div> | ||
<div class="ui attached segment"> | ||
{{ form_row(form.countries) }} | ||
</div> | ||
{# <div class="ui hidden divider"></div>#} | ||
{# <h4 class="ui top attached large header">{{ 'sylius.ui.money'|trans }}</h4>#} | ||
{# <div class="ui attached segment">#} | ||
{# <div class="two fields">#} | ||
{# {{ form_row(form.baseCurrency) }}#} | ||
{# {{ form_row(form.currencies) }}#} | ||
{# </div>#} | ||
{# </div>#} | ||
{# <div class="ui attached segment">#} | ||
{# {{ form_row(form.defaultTaxZone) }}#} | ||
{# {{ form_row(form.taxCalculationStrategy) }}#} | ||
{# </div>#} | ||
</div> | ||
<div class="column"> | ||
{# <h4 class="ui top attached large header">{{ form_label(form.shopBillingData) }}</h4>#} | ||
{# <div class="ui attached segment">#} | ||
{# <div class="two fields">#} | ||
{# {{ form_row(form.shopBillingData.company) }}#} | ||
{# {{ form_row(form.shopBillingData.taxId) }}#} | ||
{# </div>#} | ||
{# <div class="two fields">#} | ||
{# {{ form_row(form.shopBillingData.countryCode) }}#} | ||
{# {{ form_row(form.shopBillingData.street) }}#} | ||
{# </div>#} | ||
{# <div class="two fields">#} | ||
{# {{ form_row(form.shopBillingData.city) }}#} | ||
{# {{ form_row(form.shopBillingData.postcode) }}#} | ||
{# </div>#} | ||
{# </div>#} | ||
{# <div class="ui hidden divider"></div>#} | ||
<h4 class="ui top attached large header">{{ 'sylius.ui.look_and_feel'|trans }}</h4> | ||
<div class="ui attached segment"> | ||
{{ form_row(form.themeName) }} | ||
</div> | ||
<div class="ui attached segment"> | ||
{{ form_row(form.locales) }} | ||
{{ form_row(form.defaultLocale) }} | ||
</div> | ||
{# <div class="ui attached segment">#} | ||
{# {{ form_row(form.menuTaxon) }}#} | ||
{# </div>#} | ||
<div class="ui hidden divider"></div> | ||
<div class="ui attached segment"> | ||
{# {{ form_row(form.skippingShippingStepAllowed) }}#} | ||
{# {{ form_row(form.skippingPaymentStepAllowed) }}#} | ||
{{ form_row(form.accountVerificationRequired) }} | ||
</div> | ||
</div> | ||
</div> | ||
{% if form.vars.noCommerceEnabled %} | ||
{% include '@MonsieurBizSyliusNoCommercePlugin/Admin/Channel/_noCommerceForm.html.twig' %} | ||
{% else %} | ||
{% include '@MonsieurBizSyliusNoCommercePlugin/Admin/Channel/_standardForm.html.twig' %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.