Skip to content

Commit 1a48ae8

Browse files
authored
added if condition for box visibility, depending on "backend.disableConfigView"
1 parent e5dd6c7 commit 1a48ae8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/views/default/index.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
</div>
6969
<!-- ./col -->
7070

71+
<?php if(isset(Yii::$app->params['backend.disableConfigView']) && !Yii::$app->params['backend.disableConfigView']): ?>
7172
<div class="col-md-3 col-xs-6">
7273
<!-- small box -->
7374
<div class="small-box bg-olive">
@@ -87,8 +88,8 @@
8788
<?=Yii::t('backend-module', 'Configuration')?> <i class="fa fa-arrow-circle-right"></i>
8889
</a>
8990
</div>
90-
9191
</div>
92+
<?php endif; ?>
9293
<!-- ./col -->
9394

9495
<div class="col-md-3 col-xs-6">

0 commit comments

Comments
 (0)