{% load i18n static localcosmos_tags app_tags octicons %} [{{ app_kit_short_name }}] {% block title %}{% endblock %} {% block extra_head_script %}{% endblock %} {% block extra_style %}{% endblock %}
{% block header %}
{% if app_kit_mode == 'sandbox' %} LOCAL COSMOS SANDBOX APP KIT
{% if not request.user.is_authenticated %} Login: {{ app_kit_sandbox_user }}
Password: {{ app_kit_sandbox_password }}
{% endif %} time until reset: {% else %} {{ app_kit_long_name }} {% endif %}
{% endblock %}
{% if meta_app and meta_app.validation_status == 'in_progress' or meta_app.global_build_status == 'in_progress' %}
{% if meta_app and meta_app.validation_status == 'in_progress' %} {% trans 'Your app is currently being validated. You can continue when the validation process has finished.' %} {% elif meta_app.build_status == 'in_progress' %} {% trans 'Your app is currently being built. You can continue when the build process has finished.' %} {% elif meta_app.global_build_status == 'in_progress' %} {% trans 'Waiting for iOS app build. Build is in progress.' %} {% endif %}
{% elif meta_app and meta_app.published_version == meta_app.current_version and 'template-content' not in request.path %}

{{ meta_app.name }}

{% if meta_app.is_localcosmos_private %}

{% trans 'App packages' %}

{% trans 'You are using Local Cosmos Private Server for this app. You can download your app packages here or start a new version.' %}

{% trans 'Web app .zip' %}: {% trans 'Download' %}
{% trans 'Android .apk' %}: {% trans 'Download' %}
{% trans 'iOS .ipa' %}: {% if meta_app.app.ipa_url %} {% trans 'Download' %} {% else %} {% trans 'not available' %} {% endif %}

{% else %}

{% trans 'Status' %}: {% trans 'published' %}
{% trans 'Published version' %}: {{ meta_app.published_version }}
{% trans 'Web app URL' %}: {{ request.scheme }}://{{ meta_app.app.get_url }}
{% trans 'Android .aab' %}: {% if meta_app.app.aab_url %} {% trans 'Download' %} {% else %} {% trans 'not available' %} {% endif %}
{% trans 'Android .apk' %}: {% if meta_app.app.apk_url %} {% trans 'Download' %} {% else %} {% trans 'not available' %} {% endif %}
{% trans 'iOS .ipa' %}: {% if meta_app.app.ipa_url %} {% trans 'Download' %} {% else %} {% trans 'not available' %} {% endif %}

{% trans 'To edit your app, you have to start a new version.' %}

{% endif %}

{% trans 'Start new app version' %}

{% csrf_token %}


{% if meta_app.is_localcosmos_private %}

{% trans 'Local Cosmos Private Server instructions' %}

{% trans 'Steps to make everything work with your private server:' %}
  1. {% trans 'Download the zipped web app:' %} {% trans 'web app .zip' %}
  2. {% trans 'Go to the Server Control Panel of your private server.' %}
  3. {% trans 'In your private Server Control Panel click "Install app" or "Update app" and follow the instructions.' %}
  4. {% trans 'Check that everything is working on your private server.' %}
{% endif %}
{% else %} {% block content %}{% endblock %} {% endif %}
{% block extra_script %}{% endblock %}