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

@section('content')
    <h1>Support Tickets</h1>

    <table class="table table-striped table-hover">
        <thead>
            <th>Title</th>
            <th>Description</th>
            <th>Priority</th>
            <th>Status</th>
            <th>Replies</th>
            <th>Owner</th>
        </thead>
        <tbody>
        @foreach ($tickets as $ticket)
            @if (Sentry::inGroup(Sentry::findGroupByName('Admins')) || $ticket->owner_id == Sentry::getUser()->id)
                <tr>
                    <td>
                        <a href="{{ action('TicketsController@show', array($ticket->id)) }}">
                            {{ $ticket->title }}
                        </a>
                    </td>
                    <td>
                        {{ $ticket->description }}
                    </td>
                    <td>
                        {{ $ticket->priority->title }}
                    </td>
                    <td>
                        {{ $ticket->status->title }}
                    </td>
                    <td>
                        {{ $ticket->replies }}
                    </td>
                    <td>
                        {{ $ticket->owner->username }}
                    </td>
                </tr>
            @endif
        @endforeach
        </tbody>
    </table>
@stop<commit_msg>Remove description and add updated_at so we can see when tickets were last updated<commit_after>@extends('layouts.default')

@section('content')
    <h1>Support Tickets</h1>

    <table class="table table-striped table-hover">
        <thead>
            <th>Title</th>
            <th>Priority</th>
            <th>Status</th>
            <th>Replies</th>
            <th>Owner</th>
            <th>Updated At</th>
        </thead>
        <tbody>
        @foreach ($tickets as $ticket)
            @if (Sentry::inGroup(Sentry::findGroupByName('Admins')) || $ticket->owner_id == Sentry::getUser()->id)
                <tr>
                    <td>
                        <a href="{{ action('TicketsController@show', array($ticket->id)) }}">
                            {{ $ticket->title }}
                        </a>
                    </td>
                    <td>
                        {{ $ticket->priority->title }}
                    </td>
                    <td>
                        {{ $ticket->status->title }}
                    </td>
                    <td>
                        {{ $ticket->replies }}
                    </td>
                    <td>
                        {{ $ticket->owner->username }}
                    </td>
                    <td>
                        {{ $ticket->updated_at }}
                    </td>
                </tr>
            @endif
        @endforeach
        </tbody>
    </table>
@stop
{'fraction_non_alphanumeric': 0.14671814671814673, 'fraction_numerical': 0.001404001404001404, 'mean_word_length': 0.9374575118966689, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 99, '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': '343342', 'n_tokens_mistral': 775, 'n_tokens_neox': 714, 'n_words': 123}