<commit_before><?php

//use yii;
use yii\bootstrap\Html;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use common\widgets\Alert;
use common\models\Board;

/* @var $this \yii\web\View */
/* @var $content string */

AppAsset::register($this);
if ($boardObject = Board::getActiveBoard()) {
    $this->title = $boardObject->title;
    $kanbanName = trim($boardObject->kanban_name) == '' ? \Yii::t('app', 'Kanban') : $boardObject->kanban_name;
    $backlogName = trim($boardObject->backlog_name) == '' ? \Yii::t('app', 'Backlog'): $boardObject->backlog_name;
} else {
    $this->title = '';
    $kanbanName = \Yii::t('app', 'Kanban');
    $backlogName = \Yii::t('app', 'Backlog');
}
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title>Ban the Can(<?= (YII_ENV_DEMO ? 'DEMO' : '') ?>): <?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
</head>
<body>

<?php echo $this->renderFile('@frontend/views/layouts/partials/_modalContainer.php'); ?>

<?php $this->beginBody() ?>
<div class="wrap"><?php
    echo $this->renderFile(
        '@frontend/views/layouts/partials/_navigation.php', [
            'boardObject' => $boardObject,
            'kanbanName' => $kanbanName,
            'backlogName' => $backlogName
        ]
    );
    echo $this->renderFile('@frontend/views/layouts/partials/_left-sidebar.php');
    ?>

    <div id="layout-main" class="left-layout-main"><?php
        echo Html::icon('circle-arrow-left', [
            'id' => 'toggle-left-sidebar',
            'class' => 'pull-left apc-layout-toggle-button'
        ]);
        ?>
        <div class="container-fluid"><?php
            echo Breadcrumbs::widget([
                'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
            ]);
            ?><?php echo Alert::widget(); ?><?php echo $content ?></div>
    </div>
</div>

<?php echo $this->renderFile('@frontend/views/layouts/partials/_footer.php'); ?>

<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?><commit_msg>code formatting<commit_after><?php

//use yii;
use yii\bootstrap\Html;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use common\widgets\Alert;
use common\models\Board;

/* @var $this \yii\web\View */
/* @var $content string */

AppAsset::register($this);
if ($boardObject = Board::getActiveBoard()) {
    $this->title = $boardObject->title;
    $kanbanName = trim($boardObject->kanban_name) == '' ? \Yii::t('app', 'Kanban') : $boardObject->kanban_name;
    $backlogName = trim($boardObject->backlog_name) == '' ? \Yii::t('app', 'Backlog'): $boardObject->backlog_name;
} else {
    $this->title = '';
    $kanbanName = \Yii::t('app', 'Kanban');
    $backlogName = \Yii::t('app', 'Backlog');
}
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title>Ban the Can(<?= (YII_ENV_DEMO ? 'DEMO' : '') ?>): <?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
</head>
<body>

<?php echo $this->renderFile('@frontend/views/layouts/partials/_modalContainer.php'); ?>

<?php $this->beginBody() ?>
<div class="wrap">
    <?php
        echo $this->renderFile(
            '@frontend/views/layouts/partials/_navigation.php', [
                'boardObject' => $boardObject,
                'kanbanName' => $kanbanName,
                'backlogName' => $backlogName
            ]
        );
        echo $this->renderFile('@frontend/views/layouts/partials/_left-sidebar.php');
    ?>

    <div id="layout-main" class="left-layout-main">
        <?php
            echo Html::icon('circle-arrow-left', [
                'id' => 'toggle-left-sidebar',
                'class' => 'pull-left apc-layout-toggle-button'
            ]);
        ?>
        <div class="container-fluid">
            <?php
                echo Breadcrumbs::widget([
                    'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
                ]);
                echo Alert::widget();
                echo $content
            ?>
        </div>
    </div>
</div>

<?php echo $this->renderFile('@frontend/views/layouts/partials/_footer.php'); ?>

<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
{'fraction_non_alphanumeric': 0.21896853146853146, 'fraction_numerical': 0.00043706293706293706, 'mean_word_length': 3.043286219081272, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4204589', 'n_tokens_mistral': 1567, 'n_tokens_neox': 1557, 'n_words': 248}