<commit_before>{% extends 'base.html' %}
{% load i18n %}
{% load tags %}

{% block title %}{% trans "Subscription plans" %}{% endblock %}

{% block content %}
    {% if request.user|valid_subscriptions %}
    <div class="well">
        <h2>{% trans "Your active subscription plans" %}</h2>
        {% with object_list=request.user|valid_subscriptions subscription_category='any' %}
            {% include 'subscription/subscription_category_list.html' %}
        {% endwith %}
    </div>
    {% endif %}

    {% if PREMIUM_ENABLED %}
    <div class="well">
        <h2>{% trans "AstroBin Premium subscription plans" %}</h2>
        <p>
            {% blocktrans with max_allowed=PREMIUM_MAX_IMAGES_FREE%}
            You can use AstroBin for free up to {{max_allowed}} images. After
            that you can upgrade to <strong>Lite</strong> if you have a limited
            yearly output, or <strong>Premium</strong> for a limitless
            experience.  Paying members will not see ads, and everybody,
            including non-paying members, have access to all social features of
            AstroBin.
            {% endblocktrans %}
        </p>
        {% with subscription_category='premium' %}
            {% include 'subscription/subscription_category_list.html' %}<commit_msg>Fix wrong description of AstroBin Free<commit_after>{% extends 'base.html' %}
{% load i18n %}
{% load tags %}

{% block title %}{% trans "Subscription plans" %}{% endblock %}

{% block content %}
    {% if request.user|valid_subscriptions %}
    <div class="well">
        <h2>{% trans "Your active subscription plans" %}</h2>
        {% with object_list=request.user|valid_subscriptions subscription_category='any' %}
            {% include 'subscription/subscription_category_list.html' %}
        {% endwith %}
    </div>
    {% endif %}

    {% if PREMIUM_ENABLED %}
    <div class="well">
        <h2>{% trans "AstroBin Premium subscription plans" %}</h2>
        <p>
            {% blocktrans with max_allowed=PREMIUM_MAX_IMAGES_FREE%}
            You can use AstroBin for free up to {{max_allowed}} uploads. After
            that you can upgrade to <strong>Lite</strong> if you have a limited
            yearly output, or <strong>Premium</strong> for a limitless
            experience.  Paying members will not see ads, and everybody,
            including non-paying members, have access to all social features of
            AstroBin.
            {% endblocktrans %}
        </p>
        {% with subscription_category='premium' %}
            {% include 'subscription/subscription_category_list.html' %}
{'fraction_non_alphanumeric': 0.12135176651305683, 'fraction_numerical': 0.004608294930875576, 'mean_word_length': 2.6484593837535013, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '1688262', 'n_tokens_mistral': 781, 'n_tokens_neox': 724, 'n_words': 213}