<commit_before><?php
/**
 * Created by PhpStorm.
 * User: and
 * Date: 11/22/15
 * Time: 2:58 PM
 */

use yii\helpers\Html;
use yii\bootstrap\Modal;

/* @var $boardObject yii\db\ActiveRecord */

echo Html::a(
    \Yii::t('app', 'Completed'),
    '/board/completed', [
        'class' => 'btn btn-primary apc-header-button pull-right',
        'id' => 'header-completed-button',
    ]
);

echo Html::a(
    \Yii::t('app', 'Kenny Kanban'),
    '/board', [
        'class' => 'btn btn-primary apc-header-button pull-right',
        'id' => 'header-kanban-button',
    ]
);

echo Html::a(
    \Yii::t('app', 'Billy Backlog'),
    '/board/backlog', [
        'class' => 'btn btn-primary apc-header-button pull-right',
        'id' => 'header-backlog-button',
    ]
);

echo Html::button(
    \Yii::t('app', 'Create Ticket'), [
    'value' => '/ticket/new',
    'class' => 'btn btn-success apc-header-button pull-right',
    'id' => 'header-create-button',
]);

Modal::begin([
    'header' => '<h2>' . \Yii::t('app', 'Create Ticket') . '</h2>',<commit_msg>Backlog and Kanban Name now with board configurable<commit_after><?php
/**
 * Created by PhpStorm.
 * User: and
 * Date: 11/22/15
 * Time: 2:58 PM
 */

use yii\helpers\Html;
use yii\bootstrap\Modal;

/* @var $boardObject yii\db\ActiveRecord */

echo Html::a(
    \Yii::t('app', 'Completed'),
    '/board/completed', [
        'class' => 'btn btn-primary apc-header-button pull-right',
        'id' => 'header-completed-button',
    ]
);

echo Html::a(
    $boardObject ? $boardObject->kanban_name : \Yii::t('app', 'Kanban'),
    '/board', [
        'class' => 'btn btn-primary apc-header-button pull-right',
        'id' => 'header-kanban-button',
    ]
);

echo Html::a(
    $boardObject ? $boardObject->backlog_name : \Yii::t('app', 'Backlog'),
    '/board/backlog', [
        'class' => 'btn btn-primary apc-header-button pull-right',
        'id' => 'header-backlog-button',
    ]
);

echo Html::button(
    \Yii::t('app', 'Create Ticket'), [
    'value' => '/ticket/new',
    'class' => 'btn btn-success apc-header-button pull-right',
    'id' => 'header-create-button',
]);

Modal::begin([
    'header' => '<h2>' . \Yii::t('app', 'Create Ticket') . '</h2>',
{'fraction_non_alphanumeric': 0.22232263895164933, 'fraction_numerical': 0.009941256213285133, 'mean_word_length': 2.911660777385159, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 29, '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': '3220938', 'n_tokens_mistral': 845, 'n_tokens_neox': 830, 'n_words': 162}