<commit_before><?php
/* @var $this ApiController */
/* @var $activeKeysDataProvider CDataProvider */
/* @var $api Api */

// Set up the breadcrumbs.
$this->breadcrumbs = array(
    'Dashboard' => array('dashboard/'),
    'APIs' => array('api/'),
    $api->display_name => array('/api/details/', 'code' => $api->code),
    'Active Keys',
);

$this->pageTitle = 'Active Keys';
$this->pageSubtitle = 'Current Keys for this API';

?>
<div class="row">
    <div class="span12">
        <?php 

        $this->widget('bootstrap.widgets.TbGridView', array(
            'type' => 'striped hover',
            'dataProvider' => $activeKeysDataProvider,
            'template' => '{items}{pager}',
            'columns' => array(
                array(
                    'name' => 'user.display_name',
                    'header' => 'User',
                    'visible' => ( ! \Yii::app()->user->checkAccess('admin')),
                ),
                array(
                    'class' => 'CLinkColumn',
                    'labelExpression' => 'CHtml::encode($data->user->display_name)',
                    'urlExpression' => 'Yii::app()->createUrl('
                                         . '"/user/details/", '
                                         . 'array("id" => $data->user_id)'
                                     . ')',<commit_msg>Fix missed "Dashboard" link text.<commit_after><?php
/* @var $this ApiController */
/* @var $activeKeysDataProvider CDataProvider */
/* @var $api Api */

// Set up the breadcrumbs.
$this->breadcrumbs = array(
    'Home' => array('dashboard/'),
    'APIs' => array('api/'),
    $api->display_name => array('/api/details/', 'code' => $api->code),
    'Active Keys',
);

$this->pageTitle = 'Active Keys';
$this->pageSubtitle = 'Current Keys for this API';

?>
<div class="row">
    <div class="span12">
        <?php 

        $this->widget('bootstrap.widgets.TbGridView', array(
            'type' => 'striped hover',
            'dataProvider' => $activeKeysDataProvider,
            'template' => '{items}{pager}',
            'columns' => array(
                array(
                    'name' => 'user.display_name',
                    'header' => 'User',
                    'visible' => ( ! \Yii::app()->user->checkAccess('admin')),
                ),
                array(
                    'class' => 'CLinkColumn',
                    'labelExpression' => 'CHtml::encode($data->user->display_name)',
                    'urlExpression' => 'Yii::app()->createUrl('
                                         . '"/user/details/", '
                                         . 'array("id" => $data->user_id)'
                                     . ')',
{'fraction_non_alphanumeric': 0.18312985571587126, 'fraction_numerical': 0.0014798372179060304, 'mean_word_length': 1.6150870406189555, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2358887', 'n_tokens_mistral': 765, 'n_tokens_neox': 746, 'n_words': 140}