<commit_before>= content_nav_for @staff_member

%h3.pagetitle= @staff_member.name

= render "buttons"

.pageContent
  = render 'layouts/alerts'

  %h4 Courses
  %ul
    - @staff_member.courses.each do |course|
      %li= link_to course.name, course

  %h4 Recently Graded
  %table.nofeatures_dynatable
    %thead
      %tr
        %th Assignment
        %th Student
        %th Score
        %th Feedback
        %th Created at
        %th Last Updated
        %th{:style => "min-width: 120px"}
    %tbody
      - @grades.each do |grade|
        %tr
          %td= link_to grade.assignment.name, assignment_path(grade.assignment)
          %td= link_to grade.student.name, student_path(grade.student)
          %td= points grade.score
          %td= raw grade.feedback
          %td= grade.created_at
          %td= grade.updated_at
          %td
            %ul.button-bar
              %li= link_to raw('<i class="fa fa-edit fa-fw"> </i> Edit'), edit_assignment_grade_path(grade.assignment, :student_id => grade.student.id), :class => 'button'
              %li= link_to raw('<i class="fa fa-trash fa-fw"> </i> Delete'), remove_grades_assignment_path(:assignment_id => grade.assignment.id, :id => grade.id), :class => 'button', :data => { confirm: 'Are you sure?' }, :method => :post<commit_msg>Display the graded_at instead of the updated_at<commit_after>= content_nav_for @staff_member

%h3.pagetitle= @staff_member.name

= render "buttons"

.pageContent
  = render 'layouts/alerts'

  %h4 Courses
  %ul
    - @staff_member.courses.each do |course|
      %li= link_to course.name, course

  %h4 Recently Graded
  %table.nofeatures_dynatable
    %thead
      %tr
        %th Assignment
        %th Student
        %th Score
        %th Feedback
        %th Created at
        %th Last Updated
        %th{:style => "min-width: 120px"}
    %tbody
      - @grades.each do |grade|
        %tr
          %td= link_to grade.assignment.name, assignment_path(grade.assignment)
          %td= link_to grade.student.name, student_path(grade.student)
          %td= points grade.score
          %td= raw grade.feedback
          %td= grade.created_at
          %td= grade.graded_at
          %td
            %ul.button-bar
              %li= link_to raw('<i class="fa fa-edit fa-fw"> </i> Edit'), edit_assignment_grade_path(grade.assignment, :student_id => grade.student.id), :class => 'button'
              %li= link_to raw('<i class="fa fa-trash fa-fw"> </i> Delete'), remove_grades_assignment_path(:assignment_id => grade.assignment.id, :id => grade.id), :class => 'button', :data => { confirm: 'Are you sure?' }, :method => :post
{'fraction_non_alphanumeric': 0.13094784925770842, 'fraction_numerical': 0.004567948229920061, 'mean_word_length': 2.5180722891566263, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 27, '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': '3926113', 'n_tokens_mistral': 876, 'n_tokens_neox': 854, 'n_words': 209}