{% extends "base.html" %} {% load url from future %} {% load i18n %} {% load package_tags %} {% block head_title %}{{ package.title }}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block body %} {% comment %} {% if warnings %} {% endif %} {% endcomment %}

{% trans "home" %} / {% trans "packages" %} / {{ package.title }}

{{ package.repo_description }}

Usage

{% trans "Category" %} {% trans "# Using This" %}
{{ package.category }} {{ package.usage.count }}   {% with package as package %} {% usage_button %} {% endwith %}

PyPI

{% if package.pypi_url and package.pypi_url != "http://pypi.python.org/pypi/" %} {% for version in package.version_set.by_version_not_hidden %} {% endfor %}
{% trans "Version" %} {% trans "License" %} {% trans "Released" %} {% trans "Status" %} {% trans "Python 3?" %}
{{ version.number }} {{ version.pretty_license|default:"none" }} {{ version.upload_time|date:"SHORT_DATE_FORMAT" }} {{ version.pretty_status }} {% if version.supports_python3 %} {% else %} {% endif %}
{% else %}

{% trans "No PyPI release" %}

{% endif %}

{% trans "Participants" %}

{% for participant in package.participant_list %} {{ participant }}  {% endfor %}

{% trans "Documentation" %}

{% if request.user.is_authenticated %} {% endif %}

{{ package.documentation_url|urlize }}

Repo Activity

{% if package.last_fetched %} Last fetched: {{ package.last_fetched|timesince }} ago {% endif %} {% trans "Fetch latest data" %} {% comment %} {% if repo.title != "Github" %} {% trans "Fetch latest data" %} {% else %}{# if repo.title == "Github" #} {% trans "Fetch latest data" %} {% endif %} {% endcomment %}

Repo Hosting: {{ package.repo.title }}

{% trans "Repo URL" %} {% trans "Commits" %}
{{ package.repo_url }} {{ package.repo_watchers|default:"n/a" }} {{ package.repo_forks|default:"n/a" }}

{% trans "Comparison Grids" %}

{% if request.user.is_authenticated and profile.can_add_grid %} {% include "package/includes/_attach_grid.html" %} {% endif %}
{% for grid in package.grids %} {{ grid }}   {% empty %} {% if request.user.is_authenticated and profile.can_add_grid %} {% include "package/includes/_attach_grid.html" %} {% endif %} {% endfor %}

{% trans "Sites using this package" %}

{% if request.user.is_authenticated %} {% endif %}
{% with package.active_examples as examples %} {% if examples %}
    {% for example in examples %}
  1. {{ example.title }} {% if request.user.is_authenticated %}  {% endif %}
  2. {% endfor %}
{% else %}

No sites using this package have been listed yet.

{% endif %} {% endwith %}
{% endblock %} {% block javascript %} {{ block.super }} {% endblock %} {% block extra_body %} {% endblock %}