<commit_before><% # UI LIBRARIES %>
<%= javascript_include_tag "livepipe/livepipe.js",
  "livepipe/window.js" %>

<script type="text/javascript">
//<![CDATA[

  var invite_modal = null;

  function invite(){
    invite_modal.open();
    $('invite_member').setValue('');
    $('invite_member').focus();
    return false;
  }

  document.observe("dom:loaded", function(){
    invite_modal = new Control.Modal($('invite_dialog'), {
      overlayOpacity: 0.75,
      className: 'invite_modal',
      fade: false
    });
  });
//]]>
</script>

<div id="title_bar">
  <h1><%= I18n.t("student.assignment", short_identifier: @assignment.short_identifier) %></h1>
</div>

<div class="column_floatLeft">
  <div class="block">
    <h2><%= I18n.t("submissions") %></h2>
    <div class="block_content">
      <% if !@grouping.nil? %>
        <% if !@grouping.is_valid? %>
          <p class="notice">
            <%= I18n.t("student.group_not_valid") %>
          </p>
        <% end %>
        <h3><%= I18n.t("student.overview") %></h3>
        <div class="info">
          <%=raw( I18n.t("student.last_revision_date",
                        last_modified_date: I18n.l(@last_modified_date,<commit_msg>Fix for invite dialog being behind the overlay.<commit_after><% # UI LIBRARIES %>
<%= javascript_include_tag 'livepipe/livepipe.js',
                           'livepipe/window.js' %>

<script>
//<![CDATA[
  var invite_modal = null;

  function invite() {
    invite_modal.open();
    document.getElementById('invite_member').value = '';
    document.getElementById('invite_member').focus();
  }

  jQuery(document).ready(function() {
    invite_modal = new ModalMarkus('#invite_dialog');
  });
//]]>
</script>

<div id='title_bar'>
  <h1><%= I18n.t('student.assignment', short_identifier: @assignment.short_identifier) %></h1>
</div>

<div class="column_floatLeft">
  <div class="block">
    <h2><%= I18n.t("submissions") %></h2>
    <div class="block_content">
      <% if !@grouping.nil? %>
        <% if !@grouping.is_valid? %>
          <p class="notice">
            <%= I18n.t("student.group_not_valid") %>
          </p>
        <% end %>
        <h3><%= I18n.t("student.overview") %></h3>
        <div class="info">
          <%=raw( I18n.t("student.last_revision_date",
                        last_modified_date: I18n.l(@last_modified_date,
{'fraction_non_alphanumeric': 0.1952157197778727, 'fraction_numerical': 0.016659547202050404, 'mean_word_length': 2.9965870307167237, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 55, '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': '6533407', 'n_tokens_mistral': 870, 'n_tokens_neox': 807, 'n_words': 128}