portal.mkgtu.ru/backend/views/env-settings/index.php

36 lines
983 B
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
use yii\bootstrap4\Html;
use yii\web\View;
$this->title = Yii::t('backend', 'Настройка переменных окружения');
?>
<?php if (!empty($missingEnvironmentSettings)) : ?>
<div class="alert alert-danger">
<?= Yii::t('backend', 'Не все параметры окружения заполнены!') ?>
</div>
<div class="alert alert-info">
<?= Yii::t('backend', 'Перечень отсутствующих параметров:') ?>
<ul>
<li>
<?= implode('</li><li>', $missingEnvironmentSettings); ?>
</li>
</ul>
</div>
<?= Html::a(Yii::t('backend', 'Заполнить параметры окружения'), ['fill-env-variables'], ['class' => 'btn btn-primary']) ?>
<?php else : ?>
<div class="alert alert-success">
<?= Yii::t('backend', 'Все параметры окружения заполнены!') ?>
</div>
<?php endif;