{% extends 'app_kit/base.html' %} {% load i18n localcosmos_tags static app_tags octicons %} {% block extra_style %}{% endblock %} {% block header %}

{{ meta_app.name }}

{% endblock %} {% block content %}

{{ meta_app }} version {{ meta_app.current_version }} {% if meta_app.global_build_status == "in_progress" %} {% trans 'BUILD IN PROGRESS' %} {% elif meta_app.global_build_status == "passing" %} {% trans 'build passing' %} {% elif meta_app.global_build_status == "failing" %} {% trans 'build failing' %} {% else %} {% if meta_app.current_version == meta_app.published_version %} {% trans 'published' %} {% else %} {% trans 'draft' %} {% endif %} {% endif %}


{% if meta_app.global_build_status == "in_progress" %} {% else %}
{% if meta_app.global_build_status == "failing" and not meta_app.last_validation_report.errors %}
{% trans 'Your app is currently failing to build although no validation errors have been found.' %} {% trans 'Our engineers have been notified and will get back to you.' %}
{% endif %} {% if meta_app.last_validation_report and meta_app.current_version == meta_app.last_validation_report.app_version %}
{% trans 'Last validation attempt:' %} {% with date=meta_app.last_validation_report.started_at|timestamp_to_datetime %} {{ date|date:"D d M Y" }} {{ date|time:"H:i" }} {% endwith %}
{% trans 'result:' %} {% if meta_app.last_validation_report.errors %} {% blocktrans with error_count=meta_app.last_validation_report.errors|length %}{{ error_count }} errors{% endblocktrans %} {% else %} {% trans 'no errors' %} {% endif %} {% if meta_app.last_validation_report.warnings %} {% blocktrans with warning_count=meta_app.last_validation_report.warnings|length %}{{ warning_count }} warnings{% endblocktrans %} {% else %} {% trans 'no warnings' %} {% endif %}
{% if meta_app.last_validation_report.errors %}
{% trans 'During the last validation attempt the following errors were found:' %}
{% with error_report=meta_app.last_validation_report %} {% include 'app_kit/ajax/build_errors.html' %} {% endwith %}
{% endif %} {% if meta_app.last_validation_report.warnings %}
{% trans 'During the last validation attempt the following warnings were found:' %}
{% with error_report=meta_app.last_validation_report %} {% include 'app_kit/ajax/build_warnings.html' %} {% endwith %}
{% endif %} {% endif %} {% if meta_app.secondary_languages %}

{% trans 'Translations' %}


{{ meta_app.primary_language }}
{% trans 'primary' %}
{% for language in meta_app.secondary_languages %}

{{ language }}
{% endfor %}


{% endif %} {% if app_kit_status and app_kit_status.status == 'maintenance' %}
{% trans 'Local Cosmos is currently undergoing maintenance. You will be able to continue building apps after the maintenance has been completed.' %}
{% else %} {% if meta_app.global_build_status == 'passing' and meta_app.last_build_report.result == 'success' %}

{% trans 'Your app is ready!' %}

{% trans 'Web app URL:' %} {{ browser_review_url }} ({% trans 'opens in new tab' %})

version {{ meta_app.current_version }}

{% block release_app %}

{% trans 'App packages' %}

Android .aab: {% trans 'Download' %}
Android debug .apk: {% trans 'Download' %}
{% if ipa_review_url %} {% endif %}
{% endblock %}
{% endif %}
{% csrf_token %}

{% trans 'Distribution' %}

{% render_bootstrap_form form %}

{% trans 'App creation steps' %} →

 
{% if meta_app.validation_status == 'valid' %}
 
{% elif meta_app.validation_status == 'errors' %}
 
{% elif meta_app.validation_status == 'warnings' %}
 
{% elif meta_app.validation_status == 'in_progress' %}
{% endif %} {% if meta_app.validation_status == 'valid' or meta_app.validation_status == 'warnings' %} {% if meta_app.global_build_status == 'passing' %}
 
{% elif meta_app.global_build_status == 'failing' %}
 
{% endif %} {% endif %}
{% trans 'Create content' %}
{% trans 'Validate' %}
{% trans 'Build' %}
{% trans 'Release' %}
{% if app_kit_mode == "sandbox" %}
{% trans 'The app kit is running in sandbox mode. You can validate, but not build.' %}
{% endif %} {% if meta_app.validation_status == 'in_progress' %}
{% trans 'Validation in progress.' %}
{% else %} {% if meta_app.validation_status == 'valid' or meta_app.validation_status == 'warnings' %}
 {% octicon 'arrow-right' width="20" %} 
{% if meta_app.global_build_status == 'passing' and meta_app.last_build_report.result == 'success' %}
 {% octicon 'arrow-right' width="20" %}  {% block release_button %} {% endblock %}
{% if meta_app.last_release_report %} {% if meta_app.last_release_report.result == 'failure' %}
{% trans 'Due to an error, we could not release your app.' %} {% trans 'Our engineers have been notified and will get back to you.' %}
{% endif %} {% endif %} {% else %}
 {% octicon 'arrow-right' width="20" %} 
{% endif %} {% else %}
 {% octicon 'arrow-right' width="20" %} 
 {% octicon 'arrow-right' width="20" %} 
{% endif %} {% endif %}
{% endif %}
{% endif %}
{% endblock %} {% block extra_script %} {% endblock %}