<commit_before>{% extends "hqwebapp/base_section.html" %}
{% load hq_shared_tags %}
{% load i18n %}

{% block js %}{{ block.super }}
    <script src="{% static 'accounting/js/payment_method_handler.js' %}"></script>
    <script src="{% static 'accounting/js/credits.js' %}"></script>
    <script src="https://js.stripe.com/v2/"></script>
    {% include 'domain/partials/schedule_once.html' %}
    <script src="{% static 'domain/js/current_subscription.js' %}"
{% endblock %}

{% block page_content %}
<div class="row">
    <div class="col-sm-12">
        <article id="subscriptionSummary" class="form-horizontal">
            <legend>{% trans 'Current Subscription' %}</legend>
            <div class="form-group">
                <label class="control-label col-sm-2">{% trans 'Plan' %}</label>
                <div class="col-sm-10">
                    <div class="{{ plan.css_class }}">
                        <h4>{% if plan.is_trial %}{% trans '30 Day Trial' %}{% else %}{{ plan.name }}{% endif %}</h4>
                        <p><i class="fa fa-info-circle"></i>
                            {% if plan.is_trial %}
                                {% blocktrans with plan.name as pn %}<commit_msg>adding initial page data<commit_after>{% extends "hqwebapp/base_section.html" %}
{% load hq_shared_tags %}
{% load i18n %}

{% block js %}{{ block.super }}
    <script src="{% static 'accounting/js/payment_method_handler.js' %}"></script>
    <script src="{% static 'accounting/js/credits.js' %}"></script>
    <script src="https://js.stripe.com/v2/"></script>
    {% include 'domain/partials/schedule_once.html' %}
    <script src="{% static 'domain/js/current_subscription.js' %}"
{% endblock %}

{% block page_content %}
    {% initial_page_data "stripe_public_key" stripe_public_key %}
    {% initial_page_data "payment_error_messages" payment_error_messages %}
    {% initial_page_data "credit_card_url" credit_card_url %}
    {% initial_page_data "wire_url" wire_url %}
    {% initial_page_data "wire_email" user_email %}
    {% initial_page_data "plan" plan %}
    {% initial_page_data "can_purchase_credits" can_purchase_credits %}

<div class="row">
    <div class="col-sm-12">
        <article id="subscriptionSummary" class="form-horizontal">
            <legend>{% trans 'Current Subscription' %}</legend>
            <div class="form-group">
                <label class="control-label col-sm-2">{% trans 'Plan' %}</label>
                <div class="col-sm-10">
                    <div class="{{ plan.css_class }}">
                        <h4>{% if plan.is_trial %}{% trans '30 Day Trial' %}{% else %}{{ plan.name }}{% endif %}</h4>
                        <p><i class="fa fa-info-circle"></i>
                            {% if plan.is_trial %}
                                {% blocktrans with plan.name as pn %}
{'fraction_non_alphanumeric': 0.1772598870056497, 'fraction_numerical': 0.00847457627118644, 'mean_word_length': 2.577020202020202, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 45, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4938462', 'n_tokens_mistral': 963, 'n_tokens_neox': 874, 'n_words': 178}