<commit_before>{% extends "student/base.html" %}
{% import 'student/assignment/_tablehelper.html' as table with context %}
{% import 'student/assignment/_formhelpers.html' as forms %}
{% import '_globalhelpers.html' as globals %}

{% block title %} Assignment | Ok {% endblock %}

{% block body %}
    <main>
      {% include 'student/assignment/sidebar.html' %}
      <div class="col-md-2"></div>
      <section class="content nomapa col-md-10 col-xs-12">
        {% include 'student/header.html' %}

        <div class="subcontent heading">
          <div class="wrap">
            <div class="string-nav" role="navigation" aria-label="page navigation">
              <span><a href="{{ url_for('.index') }}">Courses</a></span> &raquo;
              <span><a href="{{ url_for('.course', offering=course.offering) }}"> {{ course.display_name_with_semester }}</a></span> &raquo;
              <span>{{ assignment.display_name }}</span>
            </div>
            <h1>{{ assignment.display_name}} <small class="assignment-due-date"> Due: {{  utils.local_time(assignment.due_date, course) }} </small></h1>
          </div>
          {% include 'alerts.html' %}

        </div>


        <div class="subcontent list row">

          <div class="col-lg-6 col-md-12 table-responsive group-table">
            <h2> Group </h2>

            {% include 'student/assignment/group_table.html' %}
          </div>
          <div class="col-lg-3 col-md-6 col-xs-12">
            <h2> Submission </h2>
            {% if final_submission %}
              <div class="cell col-xs-12">
                <div class="cell-title">
                  <a href="{{ url_for('.code', name=assignment.name, bid=final_submission.id, submit=final_submission.submit)}}" class="due-text green" data-no-instant>
                    {{ utils.local_time(final_submission.created, course) }}
                  </a>
                </div>
                <div class="cell-text">
                  <span>Submitted by {{ final_submission.submitter.email }}</span>
                </div>
                <div class="cell-status">
                  <div class="pull-left">
                        <a href="{{ url_for('.code', name=assignment.name, bid=final_submission.id, submit=final_submission.submit)}}" class="dashed" data-no-instant>
                          View Code
                        </a>
                        {% if revision %}<commit_msg>Fixes issue #1140: Better View Revision Link (#1220)<commit_after>{% extends "student/base.html" %}
{% import 'student/assignment/_tablehelper.html' as table with context %}
{% import 'student/assignment/_formhelpers.html' as forms %}
{% import '_globalhelpers.html' as globals %}

{% block title %} Assignment | Ok {% endblock %}

{% block body %}
    <main>
      {% include 'student/assignment/sidebar.html' %}
      <div class="col-md-2"></div>
      <section class="content nomapa col-md-10 col-xs-12">
        {% include 'student/header.html' %}

        <div class="subcontent heading">
          <div class="wrap">
            <div class="string-nav" role="navigation" aria-label="page navigation">
              <span><a href="{{ url_for('.index') }}">Courses</a></span> &raquo;
              <span><a href="{{ url_for('.course', offering=course.offering) }}"> {{ course.display_name_with_semester }}</a></span> &raquo;
              <span>{{ assignment.display_name }}</span>
            </div>
            <h1>{{ assignment.display_name}} <small class="assignment-due-date"> Due: {{  utils.local_time(assignment.due_date, course) }} </small></h1>
          </div>
          {% include 'alerts.html' %}

        </div>


        <div class="subcontent list row">

          <div class="col-lg-6 col-md-12 table-responsive group-table">
            <h2> Group </h2>

            {% include 'student/assignment/group_table.html' %}
          </div>
          <div class="col-lg-3 col-md-6 col-xs-12">
            <h2> Submission </h2>
            {% if final_submission %}
              <div class="cell col-xs-12">
                <div class="cell-title">
                  <a href="{{ url_for('.code', name=assignment.name, bid=final_submission.id, submit=final_submission.submit)}}" class="due-text green" data-no-instant>
                    {{ utils.local_time(final_submission.created, course) }}
                  </a>
                </div>
                <div class="cell-text">
                  <span>Submitted by {{ final_submission.submitter.email }}</span>
                </div>
                <div class="cell-status">
                  <div class="pull-left">
                        <a href="{{ url_for('.code', name=assignment.name, bid=final_submission.id, submit=final_submission.submit)}}" class="dashed" data-no-instant>
                          View Code
                        </a>
                        <br>
                        {% if revision %}
{'fraction_non_alphanumeric': 0.16395112016293278, 'fraction_numerical': 0.009775967413441956, 'mean_word_length': 2.0258780036968576, 'pattern_counts': {'":': 0, '<': 94, '<?xml version=': 0, '>': 94, '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': '666819', 'n_tokens_mistral': 1515, 'n_tokens_neox': 1395, 'n_words': 288}