{% extends "message.html" %}
{% load i18n %}

{% block tags %}warning{% endblock %}

{% block message %}
  {# user_can_view_billing is defined in snippets/project/state.html #}
  {% if user_can_view_billing %}
    {# project admin can request approval #}
    <a href="{{ object.billing.get_absolute_url }}" class="btn btn-primary pull-right flip">{% trans "Request approval for Libre hosting" %}</a>
    {% trans "This project is in the trial period, and is publicly accessible. You can lock it and post an announcement in case you want to avoid contributions until you finish the setup." %}
  {% else %}
    {# users are warned that the setup is not yet completed #}
    {% trans "This project is in the trial period, so be cautious before you contribute. Things like license or repository can still change before being approved as a libre project." %}
  {% endif %}
{% endblock %}
