Browse Source

Gestion site en maintenance

feature/export_comptable
Guillaume 4 years ago
parent
commit
8896e3f5e4
3 changed files with 18 additions and 0 deletions
  1. +1
    -0
      ShopBundle/Resources/translations/lcshop.fr.yaml
  2. +3
    -0
      ShopBundle/Resources/views/backend/merchant/form.html.twig
  3. +14
    -0
      ShopBundle/Resources/views/backend/merchant/panel_maintenance.html.twig

+ 1
- 0
ShopBundle/Resources/translations/lcshop.fr.yaml View File

order: Commande order: Commande
email: Email email: Email
delivery: Livraison delivery: Livraison
maintenance: Maintenance




None: Aucune valeur None: Aucune valeur

+ 3
- 0
ShopBundle/Resources/views/backend/merchant/form.html.twig View File

<div v-show="currentSection == 'seo'" class="panel panel-default"> <div v-show="currentSection == 'seo'" class="panel panel-default">
{% include '@LcShop/backend/merchant/panel_seo.html.twig' %} {% include '@LcShop/backend/merchant/panel_seo.html.twig' %}
</div> </div>
<div v-show="currentSection == 'maintenance'" class="panel panel-default">
{% include '@LcShop/backend/merchant/panel_maintenance.html.twig' %}
</div>


</div> </div>



+ 14
- 0
ShopBundle/Resources/views/backend/merchant/panel_maintenance.html.twig View File

{% import '@LcShop/backend/default/block/macros.html.twig' as macros %}

<div class="row">
<div class="col-8">
{{ macros.card_start('Merchant.maintenance','light') }}
<div class="col-12">
{{ form_row(form.merchantConfigs['maintenance']) }}
</div>
<div class="col-12">
{{ form_row(form.merchantConfigs['maintenanceIpAuthorized']) }}
</div>
{{ macros.card_end() }}
</div>
</div>

Loading…
Cancel
Save