{% extends "base.html" %} {% block title %}{{ project.title }} - {{ creator_username }}{% endblock %} {% block body_attrs %} class="padded-page project-paywall-page"{% endblock %} {% block head %} {% if let Some(img) = project.cover_image_url %} {% else %} {% endif %} {% endblock %} {% block content %} {% include "partials/site_header.html" %}
{% if let Some(cover) = project.cover_image_url %}
{{ project.title }}
{% endif %}

{{ project.title }}.

by {{ creator_username }}

{% if !project.description.is_empty() %}

{{ project.description }}

{% endif %}
{{ price_display }}
{% match checkout_type %} {% when crate::pricing::CheckoutType::OneTime %} {% if session_user.is_some() %}
{% else %} Log in to Purchase {% endif %} {% when crate::pricing::CheckoutType::PayWhatYouWant %} {% if session_user.is_some() %}
{% else %} Log in to Purchase {% endif %} {% when crate::pricing::CheckoutType::Subscription %} {% if !subscription_tiers.is_empty() %}
{% for tier in subscription_tiers %}

{{ tier.name }}

{{ tier.price }}/mo
{% if !tier.description.is_empty() %}

{{ tier.description }}

{% endif %} {% if session_user.is_some() %}
{% else %} Log in to Subscribe {% endif %}
{% endfor %}
{% endif %} {% when crate::pricing::CheckoutType::None %} {% endmatch %}
{% endblock %}