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

@section('title', '給' . $feedback->club->name . '的回饋資料')

@section('css')
    <style>
        table tr td:first-child {
            white-space: nowrap
        }
    </style>
@endsection

@section('content')
    <div class="row mt-3 pb-3">
        <div class="col-md-8 offset-md-2">
            <a href="{{ route('feedback.index') }}" class="btn btn-secondary mb-2">
                <i class="fa fa-arrow-left" aria-hidden="true"></i> 回饋資料
            </a>
            <h1>給{{ $feedback->club->name }}的回饋資料</h1>
            <div class="card">
                <div class="card-block">
                    <h1>學生資料</h1>
                    <dl class="row" style="font-size: 120%">
                        <dt class="col-4 col-md-2">學號(NID)</dt>
                        <dd class="col-8 col-md-10">{{ $feedback->student->nid }}</dd>

                        <dt class="col-4 col-md-2">姓名</dt>
                        <dd class="col-8 col-md-10">{{ $feedback->student->name }}</dd>

                        <dt class="col-4 col-md-2">班級</dt>
                        <dd class="col-8 col-md-10">{{ $feedback->student->class }}</dd>

                        <dt class="col-4 col-md-2">科系</dt>
                        <dd class="col-8 col-md-10">{{ $feedback->student->unit_name }}</dd>

                        <dt class="col-4 col-md-2">學院</dt>
                        <dd class="col-8 col-md-10">{{ $feedback->student->dept_name }}</dd>

                        <dt class="col-4 col-md-2">入學年度</dt>
                        <dd class="col-8 col-md-10">{{ $feedback->student->in_year }}</dd>

                        <dt class="col-4 col-md-2">性別</dt>
                        <dd class="col-8 col-md-10">{{ $feedback->student->gender }}</dd>

                        <dt class="col-4 col-md-2">新生</dt>
                        <dd class="col-8 col-md-10">
                            @if($feedback->student->is_freshman)
                                <i class="fa fa-check fa-2x text-success" aria-hidden="true"></i>
                            @else
                                <i class="fa fa-times fa-2x text-danger" aria-hidden="true"></i><commit_msg>Link to student from feedback<commit_after>@extends('layouts.app')

@section('title', '給' . $feedback->club->name . '的回饋資料')

@section('css')
    <style>
        table tr td:first-child {
            white-space: nowrap
        }
    </style>
@endsection

@section('content')
    <div class="row mt-3 pb-3">
        <div class="col-md-8 offset-md-2">
            <a href="{{ route('feedback.index') }}" class="btn btn-secondary mb-2">
                <i class="fa fa-arrow-left" aria-hidden="true"></i> 回饋資料
            </a>
            <h1>給{{ $feedback->club->name }}的回饋資料</h1>
            <div class="card">
                <div class="card-block">
                    <h1>學生資料</h1>
                    <dl class="row" style="font-size: 120%">
                        <dt class="col-4 col-md-2">學號(NID)</dt>
                        <dd class="col-8 col-md-10">{{ $feedback->student->nid }}</dd>

                        <dt class="col-4 col-md-2">姓名</dt>
                        <dd class="col-8 col-md-10">
                            @if(Laratrust::can('student.manage'))
                                <a href="{{ route('student.show', $feedback->student) }}">
                                    {!! $feedback->student->name !!}
                                </a>
                            @else
                                {{ $feedback->student->name }}
                            @endif
                        </dd>

                        <dt class="col-4 col-md-2">班級</dt>
                        <dd class="col-8 col-md-10">{{ $feedback->student->class }}</dd>

                        <dt class="col-4 col-md-2">科系</dt>
                        <dd class="col-8 col-md-10">{{ $feedback->student->unit_name }}</dd>

                        <dt class="col-4 col-md-2">學院</dt>
                        <dd class="col-8 col-md-10">{{ $feedback->student->dept_name }}</dd>

                        <dt class="col-4 col-md-2">入學年度</dt>
                        <dd class="col-8 col-md-10">{{ $feedback->student->in_year }}</dd>

                        <dt class="col-4 col-md-2">性別</dt>
                        <dd class="col-8 col-md-10">{{ $feedback->student->gender }}</dd>

                        <dt class="col-4 col-md-2">新生</dt>
                        <dd class="col-8 col-md-10">
                            @if($feedback->student->is_freshman)
                                <i class="fa fa-check fa-2x text-success" aria-hidden="true"></i>
                            @else
                                <i class="fa fa-times fa-2x text-danger" aria-hidden="true"></i>
{'fraction_non_alphanumeric': 0.1835627868168544, 'fraction_numerical': 0.02252816020025031, 'mean_word_length': 1.2671394799054374, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 148, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2875127', 'n_tokens_mistral': 1595, 'n_tokens_neox': 1517, 'n_words': 256}