<commit_before>﻿<div class="panel panel-default"  [rtList]="getStudents" #list="rtList" (onListInit)="onListInit($event)">
    <div class="panel-heading">
        Дипломные работы
        <div class="btn-group btn-group-sm pull-right">
            <button type="button" class="btn btn-default" (click)="showFilter=!showFilter">
                <i class="fa fa-search"></i>
                 Поиск
            </button>
            <a type="button" class="btn btn-default" [routerLink]="['/teachers/new']">
                 <i class="fa fa-plus"></i>
                 Добавить
            </a>
        </div>
    </div>
    <div class="panel-body" *ngIf="showFilter">
        <div class="input-group">
            <input type="text" class="form-control" placeholder="Искать по ФИО..." style="max-width: 100%!important"
            [(ngModel)]="FIO">
            <span class="input-group-btn">
                <button class="btn btn-default" type="button" (click)="list.reloadData()">Найти</button>
            </span>
        </div><!-- /input-group -->
    </div>
    <div class="table-responsive">
        <table class="table table-bordered table-striped table-hover">
            <thead>
                <tr>
                    <th>№</th>
                    <th><span rtSort="fio">Название</span></th>
                    <th><span rtSort="group">Дата утверждения работы</span></th>
                    <th><span rtSort="diplomWork">Дата защиты работы</span></th>
                    <th><span rtSort="teacher">Дипломник</span></th>
                    <th><span rtSort="teacher">Руководитель</span></th>
                    <th>Действия</th>
                </tr>
            </thead>
            <tbody>
                <tr *ngFor="let item of list.items">
                    <td>{{ item.id }}</td>
                    <td>
                        <a disabled  [routerLink]="['edit/', item.id]">
                            {{ item.name }}
                        </a>
                    </td>
                    <td>
                        {{ item.startDate | date: 'dd.MM.yyyy'}}
                    </td>
                    <td>
                        {{ item.endDate | date: 'dd.MM.yyyy' }}
                    </td>
                    <td>
                        <a>
                            {{ item.student }}
                        </a>
                    </td>
                    <td>
                        <a>
                            {{ item.teacher }}
                        </a>
                    </td>
                    <td>
                        <a  disabled [routerLink]="['edit/',item.id]" class="btn btn-warning btn-sm">
                            <i class="fa fa-edit"></i>
                        </a>
                    </td>
                </tr>
            </tbody>
            <tfoot *ngIf="isLoading">
                <tr>
                    <td colspan="7">
                        <table-state></table-state>
                    </td>
                </tr>
            </tfoot>
        </table>
    </div>
    <div class="panel-footer">
        <table-pagination></table-pagination>
    </div>
</div><commit_msg>DCS-30: Update link to open view<commit_after>﻿<div class="panel panel-default"  [rtList]="getStudents" #list="rtList" (onListInit)="onListInit($event)">
    <div class="panel-heading">
        Дипломные работы
        <div class="btn-group btn-group-sm pull-right">
            <button type="button" class="btn btn-default" (click)="showFilter=!showFilter">
                <i class="fa fa-search"></i>
                 Поиск
            </button>
            <a type="button" class="btn btn-default" [routerLink]="['/teachers/new']">
                 <i class="fa fa-plus"></i>
                 Добавить
            </a>
        </div>
    </div>
    <div class="panel-body" *ngIf="showFilter">
        <div class="input-group">
            <input type="text" class="form-control" placeholder="Искать по ФИО..." style="max-width: 100%!important"
            [(ngModel)]="FIO">
            <span class="input-group-btn">
                <button class="btn btn-default" type="button" (click)="list.reloadData()">Найти</button>
            </span>
        </div><!-- /input-group -->
    </div>
    <div class="table-responsive">
        <table class="table table-bordered table-striped table-hover">
            <thead>
                <tr>
                    <th>№</th>
                    <th><span rtSort="fio">Название</span></th>
                    <th><span rtSort="group">Дата утверждения работы</span></th>
                    <th><span rtSort="diplomWork">Дата защиты работы</span></th>
                    <th><span rtSort="teacher">Дипломник</span></th>
                    <th><span rtSort="teacher">Руководитель</span></th>
                    <th>Действия</th>
                </tr>
            </thead>
            <tbody>
                <tr *ngFor="let item of list.items">
                    <td>{{ item.id }}</td>
                    <td>
                        <a disabled  [routerLink]="['view/', item.id]">
                            {{ item.name }}
                        </a>
                    </td>
                    <td>
                        {{ item.startDate | date: 'dd.MM.yyyy'}}
                    </td>
                    <td>
                        {{ item.endDate | date: 'dd.MM.yyyy' }}
                    </td>
                    <td>
                        <a>
                            {{ item.student }}
                        </a>
                    </td>
                    <td>
                        <a>
                            {{ item.teacher }}
                        </a>
                    </td>
                    <td>
                        <a  disabled [routerLink]="['edit/',item.id]" class="btn btn-warning btn-sm">
                            <i class="fa fa-edit"></i>
                        </a>
                    </td>
                </tr>
            </tbody>
            <tfoot *ngIf="isLoading">
                <tr>
                    <td colspan="7">
                        <table-state></table-state>
                    </td>
                </tr>
            </tfoot>
        </table>
    </div>
    <div class="panel-footer">
        <table-pagination></table-pagination>
    </div>
</div>
{'fraction_non_alphanumeric': 0.15805184603299294, 'fraction_numerical': 0.0015710919088766694, 'mean_word_length': 1.0742913000977516, 'pattern_counts': {'":': 0, '<': 195, '<?xml version=': 0, '>': 195, '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': '6003192', 'n_tokens_mistral': 1844, 'n_tokens_neox': 1752, 'n_words': 314}