update config API

This commit is contained in:
2020-12-31 08:55:37 +07:00
parent 09604d1cb8
commit 3611390586
3 changed files with 45 additions and 30 deletions

View File

@@ -41,10 +41,12 @@
<td>{$arr.name}</td>
<td>{$arr.department}</td>
<td>
{foreach from=$arr.images item=img}
<div class='feature-img'>
<img src="{$img}" class="img-thumbnail" style="width: 100px;height:100px;">
</div>
{foreach from=$arr.images item=img key=k}
{if $k<Yii::$app->params['maxPicture']}
<div class='feature-img'>
<img src="{$img}" class="img-thumbnail" style="width: 100px;height:100px;">
</div>
{/if}
{/foreach}
</td>
<td>{$arr.code}</td>