瀏覽代碼

Gestion site en maintenance

feature/export_comptable
Guillaume 4 年之前
父節點
當前提交
8896e3f5e4
共有 3 個檔案被更改,包括 18 行新增0 行删除
  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 查看文件

@@ -75,6 +75,7 @@ group:
order: Commande
email: Email
delivery: Livraison
maintenance: Maintenance


None: Aucune valeur

+ 3
- 0
ShopBundle/Resources/views/backend/merchant/form.html.twig 查看文件

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

</div>


+ 14
- 0
ShopBundle/Resources/views/backend/merchant/panel_maintenance.html.twig 查看文件

@@ -0,0 +1,14 @@
{% 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…
取消
儲存