{% extends "moneta/base_package.html" %}{% load staticfiles i18n moneta %} {% block base_repo_urls %}
{% trans 'usage' %} {% trans 'browse repository' %} {% if admin_allowed %} {% trans 'modify repository' %} {% trans 'delete repository' %} {% endif %}
{% endblock %} {% block repo_content %}

{% trans 'Show files' %}

{% for state_info in state_infos %}

You can browse uploaded packages at the following address:

{{ absolute_url }}{{ state_info.1 }} {% if upload_allowed %}

{% trans 'Add a file' %}

{% trans 'In order to add a new archive, please run the following command:' %}

FILENAME=filename.xxx
IDENTIFIER=$identifier
VERSION=$version
{% curl %} --data-binary @$FILENAME {{ absolute_url }}{% url 'moneta.views.add_element_post' rid=repo.id %}\?filename=$FILENAME\&archive=$IDENTIFIER\&version=$VERSION{% for state in state_info.3 %}\&states={{ state }}{% endfor %}
{% endif %} {% if state_info.3 %}

Only the last uploaded version of this identifier will be kept in state{{ state_info.3|pluralize }} {{ state_info.3|human_join }}.

{% endif %}
{% endfor %}
{% include 'moneta/add_signature.html' %} {% endblock %}