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

{% block content %}
    <div class="row medium-8 large-7 columns">
    <div class="callout primary">
         <h3>A fix has been claimed for this issue:
            <a target="_blank" href='{{ claim.issue.url }}'>{{ claim.issue.title }}</a>
         </h3>
         <h3>This URL was submitted as proof of the fix:
            <a target="_blank" href='{{ claim.evidence }}'>{{ claim.title }}</a>
         </h3>
    </div>
    <div class="callout secondary">
        {% if claim.status == "Submitted"  %}
            <h3>There have been no votes on this claim yet.</h3>
            {% include "includes/expiration_note.html" %}
        {% elif claim.status == "Pending" %}
            <h3>There are some still votes needed for this claim.</h3>
            {% include "includes/expiration_note.html" %}
        {% elif claim.status == "Approved" or claim.status == "Paid"  %}
            <h3>This claim was approved.</h3>
        {% elif claim.status == "Rejected" %}
            <h3>This claim was not approved.</h3>
        {% endif %}
   </div>
    {% if vote %}
        {% include "includes/vote_confirmation.html" %}
    {% else %}
        {% include "includes/vote_form.html" %}
    {% endif %}

{% endblock %}

{% block scripts %}
   {% if request.user.is_authenticated %}
      <script src="{% static "js/home-app.js" %}" ></script>
   {% endif %}
{% endblock %}<commit_msg>for #302: update claim_status_anyone style<commit_after>{% extends "base.html" %}
{% load staticfiles %}

{% block content %}
    <div class="row">
        <div class="medium-10 columns">
            <h3><a target="_blank" href='{{ claim.issue.url }}'>{{ claim.issue.title }}</a></h3>
            <h4>Evidence: <a target="_blank" href='{{ claim.evidence }}'>{{ claim.title }}</a></h4>
        </div>
        <div class="medium-2 columns claim-status">
            {% if claim.status == 'Paid' %}
            <i class="fi-paypal large"></i>
            {% elif claim.status == 'Submitted' %}
            <i class="fi-next large"></i>
            {% endif %}
            <br/>
            {{ claim.status }}
        </div>
    </div>
    <div class="row">
        <div class="medium-2 columns">
            <div class="date">
                <p class="date-label">Created</p>
                <p class="date-details">{{ claim.created|date:"M" }}<br/>{{ claim.created|date:"j" }}</p>
            </div>
        </div>
        <div class="medium-8 columns">
            {% if claim.status == "Submitted"  %}
                <h3>There have been no votes on this claim yet.</h3>
                {% include "includes/expiration_note.html" %}
            {% elif claim.status == "Pending" %}
                <h3>There are some still votes needed for this claim.</h3>
                {% include "includes/expiration_note.html" %}
            {% elif claim.status == "Approved" or claim.status == "Paid"  %}
                <h3>This claim was approved.</h3>
            {% elif claim.status == "Rejected" %}
                <h3>This claim was not approved.</h3>
            {% endif %}
            {% if vote %}
                {% include "includes/vote_confirmation.html" %}
            {% else %}
                {% include "includes/vote_form.html" %}
            {% endif %}
        </div>
        <div class="medium-2 columns">
            <div class="date">
                <p class="date-label">Expires</p>
                <p class="date-details">{{ claim.expires|date:"M" }}<br/>{{ claim.expires|date:"j" }}</p>
            </div>
        </div>
    </div>

{% endblock %}

{% block scripts %}
   {% if request.user.is_authenticated %}
      <script src="{% static "js/home-app.js" %}" ></script>
   {% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.18056293149229952, 'fraction_numerical': 0.00929368029739777, 'mean_word_length': 1.9292379471228616, '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': '6709032', 'n_tokens_mistral': 1236, 'n_tokens_neox': 1119, 'n_words': 273}