<commit_before>{% extends "base.html" %}
{% load bootstrap i18n %}

{% block title %} - Reviewing - {{ proposal.title }}{% endblock %}


{% block body %}
<div class="container">
  <h2>{{ proposal.title }}</h2>
  <div class="tabbable">
    <ul class="nav nav-tabs">
      <li class="active">
        <a href="#proposal-detail" data-toggle="tab">
          {% trans "Proposal Details" %}
        </a>
      </li>
      {% if actor == "reviewer" %}<li>
        <a href="#proposal-reviews" data-toggle="tab">
          {% trans "Reviews" %}
          <span class="badge">{{ proposal.review_votes.count }}</span>
        </a>
      </li>{% endif %}
      <li>
        <a href="#proposal-feedback" data-toggle="tab">
          {% trans "Speaker Feedback" %}
          <span class="badge">{{ proposal.messages.count }}</span>
        </a>
      </li>
    </ul>
  <div class="tab-content">
    <div class="tab-pane active" id="proposal-detail">
      {% include "symposion/proposals/_proposal_fields.html" %}
    </div>
    {# Only show reviews if user is a reviewer. #}
    {% if actor == "reviewer" %}<div class="tab-pane" id="proposal-reviews">
      <h3>Votes</h3>
      {% for review_vote in proposal.review_votes.all %}<hr><p>
        <h4>{{ review_vote.voter.username }} ({{ review_vote.get_score_display }})</h4>
        {{ review_vote.comment_html|safe }}
      </p>{% endfor %}
      <form method="POST" action="{% url 'review_proposal_vote' proposal.id %}" class="review-form">
        <legend>{% trans "Submit Review" %}</legend>
        <p><commit_msg>Fix feeback message badge count on tab header.<commit_after>{% extends "base.html" %}
{% load bootstrap i18n %}

{% block title %} - Reviewing - {{ proposal.title }}{% endblock %}


{% block body %}
<div class="container">
  <h2>{{ proposal.title }}</h2>
  <div class="tabbable">
    <ul class="nav nav-tabs">
      <li class="active">
        <a href="#proposal-detail" data-toggle="tab">
          {% trans "Proposal Details" %}
        </a>
      </li>
      {% if actor == "reviewer" %}<li>
        <a href="#proposal-reviews" data-toggle="tab">
          {% trans "Reviews" %}
          <span class="badge">{{ proposal.review_votes.count }}</span>
        </a>
      </li>{% endif %}
      <li>
        <a href="#proposal-feedback" data-toggle="tab">
          {% trans "Speaker Feedback" %}
          <span class="badge">{{ proposal.review_feedback.count }}</span>
        </a>
      </li>
    </ul>
  <div class="tab-content">
    <div class="tab-pane active" id="proposal-detail">
      {% include "symposion/proposals/_proposal_fields.html" %}
    </div>
    {# Only show reviews if user is a reviewer. #}
    {% if actor == "reviewer" %}<div class="tab-pane" id="proposal-reviews">
      <h3>Votes</h3>
      {% for review_vote in proposal.review_votes.all %}<hr><p>
        <h4>{{ review_vote.voter.username }} ({{ review_vote.get_score_display }})</h4>
        {{ review_vote.comment_html|safe }}
      </p>{% endfor %}
      <form method="POST" action="{% url 'review_proposal_vote' proposal.id %}" class="review-form">
        <legend>{% trans "Submit Review" %}</legend>
        <p>
{'fraction_non_alphanumeric': 0.1962587190868738, 'fraction_numerical': 0.0050729232720355105, 'mean_word_length': 2.6987104337631886, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, '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': '2883289', 'n_tokens_mistral': 1119, 'n_tokens_neox': 1043, 'n_words': 230}