{% set base_price = g.settings.get('stripe_base_price', 1.39)|float %}
{% set base_currency = g.settings.get('stripe_base_currency', 'cad')|lower %}
{% set pref = (g.user.preferred_currency if g.user and g.user.preferred_currency else 'usd')|lower %}
{% set enable_regional = g.settings.get('stripe_regional_currency', '1') == '1' %}
{% set rates = get_exchange_rates(base_currency) %}
{% set target_curr = pref if enable_regional and pref in rates else base_currency %}
{% set target_price = base_price * rates.get(target_curr, 1.0) %}
{% set symbols = {'usd': '$', 'cad': '$', 'eur': '€', 'gbp': '£', 'aud': '$'} %}
For just {{ target_curr|upper }} {{
symbols.get(target_curr, '$') }}{{ "%.2f"|format(target_price) }} / month,
unlock the full potential of your repositories.
Standard
Public Repo Size: {{
g.settings.get('git_standard_public_repo_size_limit_mb', 1024) }} MB