<commit_before>@extends('core::admin.master')

@section('title', __('Partners'))

@section('content')

<item-list
    url-base="/api/partners"
    locale="{{ config('typicms.content_locale') }}"
    fields="id,image_id,position,status,title"
    table="partners"
    title="partners"
    include="image"
    appends="thumb"
    :exportable="true"
    :searchable="['title']"
    :sorting="['position']">

    <template slot="add-button" v-if="$can('create partners')">
        @include('core::admin._button-create', ['module' => 'partners'])
    </template>

    <template slot="columns" slot-scope="{ sortArray }">
        <item-list-column-header name="checkbox" v-if="$can('update partners')||$can('delete partners')"></item-list-column-header>
        <item-list-column-header name="edit" v-if="$can('update partners')"></item-list-column-header>
        <item-list-column-header name="status_translated" sortable :sort-array="sortArray" :label="$t('Status')"></item-list-column-header>
        <item-list-column-header name="position" sortable :sort-array="sortArray" :label="$t('Position')"></item-list-column-header>
        <item-list-column-header name="image" :label="$t('Image')"></item-list-column-header>
        <item-list-column-header name="title_translated" sortable :sort-array="sortArray" :label="$t('Title')"></item-list-column-header>
    </template>

    <template slot="table-row" slot-scope="{ model, checkedModels, loading }">
        <td class="checkbox" v-if="$can('update partners')||$can('delete partners')"><item-list-checkbox :model="model" :checked-models-prop="checkedModels" :loading="loading"></item-list-checkbox></td>
        <td v-if="$can('update partners')">@include('core::admin._button-edit', ['module' => 'partners'])</td>
        <td><item-list-status-button :model="model"></item-list-status-button></td>
        <td><item-list-position-input :model="model"></item-list-position-input></td>
        <td><img :src="model.thumb" alt="" height="27"></td>
        <td>@{{ model.title_translated }}</td>
    </template><commit_msg>Update index.blade.php<commit_after>@extends('core::admin.master')

@section('title', __('Partners'))

@section('content')

<item-list
    url-base="/api/partners"
    locale="{{ config('typicms.content_locale') }}"
    fields="id,image_id,position,status,title"
    table="partners"
    title="partners"
    include="image"
    appends="thumb"
    :exportable="true"
    :searchable="['title']"
    :sorting="['position']">

    <template slot="add-button" v-if="$can('create partners')">
        @include('core::admin._button-create', ['module' => 'partners'])
    </template>

    <template slot="columns" slot-scope="{ sortArray }">
        <item-list-column-header name="checkbox" v-if="$can('update partners')||$can('delete partners')"></item-list-column-header>
        <item-list-column-header name="edit" v-if="$can('update partners')"></item-list-column-header>
        <item-list-column-header name="status_translated" sortable :sort-array="sortArray" :label="$t('Status')"></item-list-column-header>
        <item-list-column-header name="position" sortable :sort-array="sortArray" :label="$t('Position')"></item-list-column-header>
        <item-list-column-header name="image" :label="$t('Image')"></item-list-column-header>
        <item-list-column-header name="title_translated" sortable :sort-array="sortArray" :label="$t('Title')"></item-list-column-header>
    </template>

    <template slot="table-row" slot-scope="{ model, checkedModels, loading }">
        <td class="checkbox" v-if="$can('update partners')||$can('delete partners')"><item-list-checkbox :model="model" :checked-models-prop="checkedModels" :loading="loading"></item-list-checkbox></td>
        <td v-if="$can('update partners')">@include('core::admin._button-edit', ['module' => 'partners'])</td>
        <td><item-list-status-button :model="model"></item-list-status-button></td>
        <td><item-list-position-input :model="model"></item-list-position-input></td>
        <td><img :src="model.thumb" alt="" height="27"></td>
        <td v-html="model.title_translated"></td>
    </template>
{'fraction_non_alphanumeric': 0.22219547424169475, 'fraction_numerical': 0.0009629272989889263, 'mean_word_length': 4.723140495867769, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 83, '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': '7379713', 'n_tokens_mistral': 1311, 'n_tokens_neox': 1295, 'n_words': 173}