<commit_before>﻿<div id="drafts-index" class="app-page bottom-fixed-navbar-container">
    
    <div>
        <div class="col-md-4 col-lg-3">
            <ul data-bind="foreach: drafts" class="data-list">
                <li data-bind="css: { active: $data === $parent.selectedDraft() }, click: $parent.selectDraft">
                    <div class="pull-right">
                        <span data-bind="text: $parent.formatDate(Modified.At)"></span>
                    </div>
                    <span data-bind="text: Name"></span>
                </li>
            </ul>
        </div>
        <div class="col-md-8 col-lg-9 draft-preview">
            <!-- ko if: selectedDraft() && template() -->
            <!-- ko foreach: { data: template().rows, as: 'row' } -->
            <div class="row">
                <!-- ko foreach: { data:row.cells, as: 'cell' } -->
                <div data-bind="draftTemplateClass: cell, click: $parents[1].editContentPart">
                    <div data-bind="template: { name: $parents[1].getContentPartTemplate($data) }"></div>
                </div>
                <!-- /ko --><commit_msg>Bugfix: Wrong date was shown in drafts index<commit_after>﻿<div id="drafts-index" class="app-page bottom-fixed-navbar-container">
    
    <div>
        <div class="col-md-4 col-lg-3">
            <ul data-bind="foreach: drafts" class="data-list">
                <li data-bind="css: { active: $data === $parent.selectedDraft() }, click: $parent.selectDraft">
                    <div class="pull-right">
                        <span data-bind="text: $parent.formatDate($data.Modified().At())"></span>
                    </div>
                    <span data-bind="text: Name"></span>
                </li>
            </ul>
        </div>
        <div class="col-md-8 col-lg-9 draft-preview">
            <!-- ko if: selectedDraft() && template() -->
            <!-- ko foreach: { data: template().rows, as: 'row' } -->
            <div class="row">
                <!-- ko foreach: { data:row.cells, as: 'cell' } -->
                <div data-bind="draftTemplateClass: cell, click: $parents[1].editContentPart">
                    <div data-bind="template: { name: $parents[1].getContentPartTemplate($data) }"></div>
                </div>
                <!-- /ko -->
{'fraction_non_alphanumeric': 0.1859557867360208, 'fraction_numerical': 0.005201560468140442, 'mean_word_length': 1.6682080924855491, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '3391992', 'n_tokens_mistral': 683, 'n_tokens_neox': 651, 'n_words': 135}