<commit_before><?php
/**
 * @file      _theme-thumbnail.php.
 * @date      6/4/2015
 * @time      12:03 PM
 * @author    <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2015 WritesDown
 * @license   http://www.writesdown.com/license/
 */

use yii\helpers\Html;
use yii\helpers\Url;

/* @var $i int */
/* @var $theme [] */
/* @var $installed string */
?>
<div class="col-xs-6 col-sm-4">
    <div class="thumbnail theme-thumbnail">
        <?= Html::img($theme['Thumbnail'], [
            'class' => 'theme-thumbnail'
        ]); ?>
        <h3 class="theme-name"><?= $theme['Name']; ?></h3>
        <?php
        if ($theme['Dir'] === $installed) {
            echo Html::tag('span', Yii::t('writesdown', 'Installed'), ['class' => 'full-width btn-block btn btn-flat btn-info']);
        }else{
            echo Html::beginTag('div', ['class' => 'btn-group']);
            echo Html::a(Yii::t('writesdown', 'Detail'), ['/theme/detail', 'theme' => $theme['Dir']], [<commit_msg>update background theme thumbnail<commit_after><?php
/**
 * @file      _theme-thumbnail.php.
 * @date      6/4/2015
 * @time      12:03 PM
 * @author    <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2015 WritesDown
 * @license   http://www.writesdown.com/license/
 */

use yii\helpers\Html;
use yii\helpers\Url;

/* @var $i int */
/* @var $theme [] */
/* @var $installed string */
?>
<div class="col-xs-6 col-sm-4">
    <div class="thumbnail theme-thumbnail bg-gray">
        <?= Html::img($theme['Thumbnail'], [
            'class' => 'theme-thumbnail'
        ]); ?>
        <h3 class="theme-name"><?= $theme['Name']; ?></h3>
        <?php
        if ($theme['Dir'] === $installed) {
            echo Html::tag('span', Yii::t('writesdown', 'Installed'), ['class' => 'full-width btn-block btn btn-flat btn-info']);
        }else{
            echo Html::beginTag('div', ['class' => 'btn-group']);
            echo Html::a(Yii::t('writesdown', 'Detail'), ['/theme/detail', 'theme' => $theme['Dir']], [
{'fraction_non_alphanumeric': 0.22893401015228426, 'fraction_numerical': 0.018274111675126905, 'mean_word_length': 2.7329545454545454, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4925661', 'n_tokens_mistral': 700, 'n_tokens_neox': 686, 'n_words': 140}