瀏覽代碼

Merge branch 'develop' of https://forge.laclic.fr/Laclic/SovBundle into develop

develop
Fabien Normand 3 年之前
父節點
當前提交
c4f02ef428
共有 2 個文件被更改,包括 17 次插入1 次删除
  1. +1
    -1
      Resources/assets/app/adminlte/main/scss/_common.scss
  2. +16
    -0
      Solver/Setting/SettingSolver.php

+ 1
- 1
Resources/assets/app/adminlte/main/scss/_common.scss 查看文件

@@ -48,7 +48,7 @@ table.fixedHeader-floating{margin-top: 0px !important;}
#list_filter_id{width: 60px;}

.delivery-field .form-group{display: inline-block; margin-bottom: 0px; margin-right: 15px;}
.delivery-field .form-group .form-control{width: 150px;}
.delivery-field .form-group .form-control{width: 90px;}

.table{
thead a{color: #212529}

+ 16
- 0
Solver/Setting/SettingSolver.php 查看文件

@@ -44,4 +44,20 @@ class SettingSolver

return null;
}

public function getDefaultValue(EntityInterface $entity, $settingDefault)
{
$valueDefault = null;

if(is_array($settingDefault)) {
if(isset($settingDefault[$entity->getDevAlias()])) {
$valueDefault = $settingDefault[$entity->getDevAlias()];
}
}
else {
$valueDefault = $settingDefault;
}

return $valueDefault;
}
}

Loading…
取消
儲存