<commit_before><?php

use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model app\models\Project */

$this->title = $model->title;
?>
<div class="project-view">

    <h1><?= Html::encode($this->title) ?></h1>

    <p>
        <?= Html::a(Yii::t('app', 'Update'), ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
        <?= Html::a(Yii::t('app', 'Delete'), ['delete', 'id' => $model->id], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => Yii::t('app', 'Are you sure you want to delete this item?'),
                'method' => 'post',
            ],
        ]) ?>
    </p>

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'id',
            'title',
            'command:ntext',
            [
                'attribute' => 'category_id',
                'value' =>  $model->getCategory()->one()->title
            ],
            [
                'attribute' => 'active_status',
                'value' =>  $model->getStatus()
            ],
            'last_deploy_date',
        ],
    ]) ?>

    <p>
        Для выкладки извне дерните следующий url:
        <b>
            <?= Url::base(true).Url::to(['/site/apideploy', 'id' => $model->id, 'key' => $model->getKey()]);?>
        </b>
    </p>
</div><commit_msg>fix description url for deploy<commit_after><?php

use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model app\models\Project */

$this->title = $model->title;
?>
<div class="project-view">

    <h1><?= Html::encode($this->title) ?></h1>

    <p>
        <?= Html::a(Yii::t('app', 'Update'), ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
        <?= Html::a(Yii::t('app', 'Delete'), ['delete', 'id' => $model->id], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => Yii::t('app', 'Are you sure you want to delete this item?'),
                'method' => 'post',
            ],
        ]) ?>
    </p>

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'id',
            'title',
            'command:ntext',
            [
                'attribute' => 'category_id',
                'value' =>  $model->getCategory()->one()->title
            ],
            [
                'attribute' => 'active_status',
                'value' =>  $model->getStatus()
            ],
            'last_deploy_date',
        ],
    ]) ?>

    <p>
        <?=Yii::t('app', 'Make a request for outside deploy:')?>
        <b>
            <?= Url::base(true).Url::to(['/site/apideploy', 'id' => $model->id, 'key' => $model->getKey()]);?>
        </b>
    </p>
</div>
{'fraction_non_alphanumeric': 0.22846975088967972, 'fraction_numerical': 0.0014234875444839859, 'mean_word_length': 1.7558823529411764, 'pattern_counts': {'":': 0, '<': 36, '<?xml version=': 0, '>': 88, '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': '6778317', 'n_tokens_mistral': 949, 'n_tokens_neox': 939, 'n_words': 172}