<commit_before>{% extends "devilry/examiner/base.django.html" %}
{% comment %} vim: set ts=2 sts=2 et sw=2: {% endcomment %}
{% load i18n %}
{% block title %}{% trans "Feedback" %}{% endblock %}
{% block heading %}{% trans "Feedback" %}{% endblock %}

{% block breadcrumbs %}
{{ block.super }}
<li><a href='{% url devilry-examiner-list_assignmentgroups delivery.assignment_group.parentnode.id %}'>
{{ delivery.assignment_group.parentnode }}</a></li>
<li>::</li>
<li><a href='{% url devilry-examiner-show_assignmentgroup delivery.assignment_group.id %}'>
{{ delivery.assignment_group.get_students }}</a></li>
<li>::</li>
<li>{% trans "Delivery" %}</li>
{% endblock %}

{% block main %}

<table class='vertical_infotable'>
  {% include "devilry/ui/include/show_delivery_default.django.html" %}
  <tr>
    <th>{% trans "Feedback last modified by" %}</th>
    <td> {{ delivery.feedback.last_modified_by }} </td>
  </tr>
</table>

<form method='post' action='{% url devilry-examiner-correct_delivery delivery.id %}'>
  {% block formfields %}
    {% block gradeformfieldset %}
      <fieldset class='stdfieldset'>
        <h2 class='legend'>{% trans "Grade" %}</h2>
        {% block gradeform %}
          {% with grade_form as form %}
            {% include "devilry/ui/include/form-list.django.html" %}
          {% endwith %}
        {% endblock %}
      </fieldset>
    {% endblock %}

    {% with feedback_form as form %}
      <fieldset class='stdfieldset'>
        <h2 class='legend'>{% trans "Feedback" %}</h2>
        <div class='help-box'>
          {% with "http://docutils.sourceforge.net/docs/user/rst/quickref.html" as docurl %}
            <p>{% blocktrans %}
              Feedback text should be formatted using <em>ReStructured Text</em>
              (a simple markup language). Use the buttons above the text
              area for the most common markup, and read <a href="{{ docurl }}">the
              documentation</a> if you need more advanced markup. The rightmost
              button above the text-area provides you with a preview.
            {% endblocktrans %}</p>
          {% endwith %}
        </div>
        {% include "devilry/ui/include/form-list.django.html" %}
      </fieldset>
    {% endwith %}
  {% endblock formfields %}
  
  <div class='button-row'>
    <input type='submit' name='save' class='button'
      value='{% if delivery.feedback %}{% trans "Update" %}{% else %}{% trans "Create" %}{% endif %}'/>
  </div>
</form>


{% endblock main %}
<commit_msg>Added warning about the browser bug with rstSchema<commit_after>{% extends "devilry/examiner/base.django.html" %}
{% comment %} vim: set ts=2 sts=2 et sw=2: {% endcomment %}
{% load i18n %}
{% block title %}{% trans "Feedback" %}{% endblock %}
{% block heading %}{% trans "Feedback" %}{% endblock %}

{% block breadcrumbs %}
{{ block.super }}
<li><a href='{% url devilry-examiner-list_assignmentgroups delivery.assignment_group.parentnode.id %}'>
{{ delivery.assignment_group.parentnode }}</a></li>
<li>::</li>
<li><a href='{% url devilry-examiner-show_assignmentgroup delivery.assignment_group.id %}'>
{{ delivery.assignment_group.get_students }}</a></li>
<li>::</li>
<li>{% trans "Delivery" %}</li>
{% endblock %}

{% block main %}

{% if delivery.assignment_group.parentnode.grade_plugin == "grade_rstschema:rstschemagrade" %}
  <p class='warning-box'>There are issues with <em>Internet Explorer<em> and
  <em>Opera</em> and the grade plugin used on this assignment. We reccommend
  you use Firefox, Safari or Chrome.</p>
{% endif %}

<table class='vertical_infotable'>
  {% include "devilry/ui/include/show_delivery_default.django.html" %}
  <tr>
    <th>{% trans "Feedback last modified by" %}</th>
    <td> {{ delivery.feedback.last_modified_by }} </td>
  </tr>
</table>

<form method='post' action='{% url devilry-examiner-correct_delivery delivery.id %}'>
  {% block formfields %}
    {% block gradeformfieldset %}
      <fieldset class='stdfieldset'>
        <h2 class='legend'>{% trans "Grade" %}</h2>
        {% block gradeform %}
          {% with grade_form as form %}
            {% include "devilry/ui/include/form-list.django.html" %}
          {% endwith %}
        {% endblock %}
      </fieldset>
    {% endblock %}

    {% with feedback_form as form %}
      <fieldset class='stdfieldset'>
        <h2 class='legend'>{% trans "Feedback" %}</h2>
        <div class='help-box'>
          {% with "http://docutils.sourceforge.net/docs/user/rst/quickref.html" as docurl %}
            <p>{% blocktrans %}
              Feedback text should be formatted using <em>ReStructured Text</em>
              (a simple markup language). Use the buttons above the text
              area for the most common markup, and read <a href="{{ docurl }}">the
              documentation</a> if you need more advanced markup. The rightmost
              button above the text-area provides you with a preview.
            {% endblocktrans %}</p>
          {% endwith %}
        </div>
        {% include "devilry/ui/include/form-list.django.html" %}
      </fieldset>
    {% endwith %}
  {% endblock formfields %}
  
  <div class='button-row'>
    <input type='submit' name='save' class='button'
      value='{% if delivery.feedback %}{% trans "Update" %}{% else %}{% trans "Create" %}{% endif %}'/>
  </div>
</form>


{% endblock main %}

{'fraction_non_alphanumeric': 0.17416572928383953, 'fraction_numerical': 0.003374578177727784, 'mean_word_length': 3.1006917755572636, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, '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': '1376512', 'n_tokens_mistral': 1840, 'n_tokens_neox': 1685, 'n_words': 418}