<commit_before>@extends('layouts.master')

@section('title', $duty->name)


@section('content')

    @can('edit')
        <div class="fixed-action-btn" style="bottom: 45px; right: 24px;">

        </div>
    @endcan

    <div class="card">
        <div class="card-content">
            <div class="card-title">
                {{ $duty->name }}
                @can('edit')
                    <a class="btn-flat btn-sm tooltipped" href="{{ action('DutyController@edit', $duty->id) }}" data-tooltip="Edit Security Check">
                        <i class="large material-icons">edit</i>
                    </a>
                @endcan
            </div>
            {{ $duty->description }}
            <table class="bordered">
                <thead>
                <tr>
                    <th>{{ ucfirst(rtrim($duty->cycle, 'ly')) }}</th>
                    <th>Employee</th>
                    @can('edit')
                        <th class="center-align hide-on-print">Swap
                            <a tabindex="0" role="button" data-trigger="focus" data-toggle="popover" data-placement="top" title="Performing a swap." data-content="You must click the swap button (up/down icon) on two different rows to make a swap. When selected, the button will turn green." aria-hidden="true"><span class="glyphicon glyphicon-question-sign"></span></a>
                        </th>
                    @endcan
                </tr>
                </thead>
                <tbody>
                    @foreach ($list as $row)
                        <tr>
                            <td>{{ $row['date'] }}</td>
                            <td>
                                {!! $row['row'] !!}
                            </td>
                            @can('edit')
                                <td class="center-align hide-on-print">
                                    <button type="button" class="duty-swap btn-flat btn-sm" aria-label="swap" data-id="{{ $row['id'] }}" data-duty="{{ $duty->id }}" data-date="{{ $row['date'] }}" data-type="{{ $duty->has_groups ? 'Group' : 'User' }}">
                                        <i class="material-icons">swap_vert</i>
                                    </button>
                                </td>
                            @endcan
                        </tr>
                    @endforeach
                </tbody>
            </table>
        </div>
    </div>

@stop
<commit_msg>fix typo with duty showing dai instead of day<commit_after>@extends('layouts.master')

@section('title', $duty->name)


@section('content')

    @can('edit')
        <div class="fixed-action-btn" style="bottom: 45px; right: 24px;">

        </div>
    @endcan

    <div class="card">
        <div class="card-content">
            <div class="card-title">
                {{ $duty->name }}
                @can('edit')
                    <a class="btn-flat btn-sm tooltipped" href="{{ action('DutyController@edit', $duty->id) }}" data-tooltip="Edit Security Check">
                        <i class="large material-icons">edit</i>
                    </a>
                @endcan
            </div>
            {{ $duty->description }}
            <table class="bordered">
                <thead>
                <tr>
                    <th>{{ $duty->cycle == "daily" ? "Day" : ucfirst(rtrim($duty->cycle, 'ly')) }}</th>
                    <th>Employee</th>
                    @can('edit')
                        <th class="center-align hide-on-print">Swap
                            <a tabindex="0" role="button" data-trigger="focus" data-toggle="popover" data-placement="top" title="Performing a swap." data-content="You must click the swap button (up/down icon) on two different rows to make a swap. When selected, the button will turn green." aria-hidden="true"><span class="glyphicon glyphicon-question-sign"></span></a>
                        </th>
                    @endcan
                </tr>
                </thead>
                <tbody>
                    @foreach ($list as $row)
                        <tr>
                            <td>{{ $row['date'] }}</td>
                            <td>
                                {!! $row['row'] !!}
                            </td>
                            @can('edit')
                                <td class="center-align hide-on-print">
                                    <button type="button" class="duty-swap btn-flat btn-sm" aria-label="swap" data-id="{{ $row['id'] }}" data-duty="{{ $duty->id }}" data-date="{{ $row['date'] }}" data-type="{{ $duty->has_groups ? 'Group' : 'User' }}">
                                        <i class="material-icons">swap_vert</i>
                                    </button>
                                </td>
                            @endcan
                        </tr>
                    @endforeach
                </tbody>
            </table>
        </div>
    </div>

@stop

{'fraction_non_alphanumeric': 0.15767217076117598, 'fraction_numerical': 0.002013693113169553, 'mean_word_length': 1.1919682259488085, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 102, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4721190', 'n_tokens_mistral': 1367, 'n_tokens_neox': 1261, 'n_words': 279}