{% extends "grid/base.html" %} {% load url from future %} {% load i18n %} {% load cache %} {% load grid_tags %} {% load package_tags %} {% block head_title %}{{ grid.title }}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block body %}

{{ grid.title }} {% if request.user.is_authenticated and profile.can_edit_grid %} {% endif %}

{% cache 2592000 detail_template_cache grid.pk %}

{{ grid.description|urlize|linebreaksbr }}

{% if features %} {% if request.user.is_authenticated and profile.can_add_grid_package %}

{% trans "Add package to the grid" %}

{% endif %} {% if request.user.is_authenticated and profile.can_add_grid_feature %}

{% trans "Add new feature to the grid" %}

{% endif %} {% endif %} {% if request.user.is_authenticated and profile.can_edit_grid_element and features %}

{% trans "Highlighted cells are editable. Click highlighted cells to change text." %}

{% endif %}
{% if features %}

{% trans "Features currently being evaluated" %}

{% for feature in features %} {% endfor %}
{% trans "Feature" %} {% trans "Description" %}
{{ feature.title }} {% if request.user.is_authenticated and profile.can_edit_grid_feature %}   {% if perms.grid.delete_feature %}   {% endif %} {% endif %} {{ feature.description|wordwrap:80|linebreaksbr }}
{% else %}
{% if request.user.is_authenticated and profile.can_add_grid_package %}

{% trans "Add package to the grid" %}

{% endif %} {% if request.user.is_authenticated and profile.can_add_grid_feature %}

{% trans "Add new feature to the grid" %}

{% endif %}
{% endif %}
{% if grid_packages|length %} {% include "grid/snippets/grid_row_header.html" %} {% for grid_package in grid_packages %} {% endfor %} {% for grid_package in grid_packages %} {% endfor %} {% for grid_package in grid_packages %} {% endfor %} {% for grid_package in grid_packages %} {% endfor %} {% for grid_package in grid_packages %} {% endfor %} {% for grid_package in grid_packages %} {% endfor %} {% for grid_package in grid_packages %} {% endfor %} {% for grid_package in grid_packages %} {% endfor %} {% for grid_package in grid_packages %} {% endfor %} {% for grid_package in grid_packages %} {% endfor %} {% for grid_package in grid_packages %} {% endfor %} {% for grid_package in grid_packages %} {% endfor %} {% for grid_package in grid_packages %} {% endfor %} {% include "grid/snippets/grid_row_header.html" %} {% for feature in features %} {% for grid_package in grid_packages %} {% with elements|hash:feature.pk|hash:grid_package.pk as element %} {% endwith %} {% endfor %} {% endfor %} {% if features %} {% include "grid/snippets/grid_row_header.html" %} {% endif %} {% if perms.grid.delete_gridpackage %} {% for grid_package in grid_packages %} {% endfor %} {% endif %}
{% trans "Description" %} {% with grid_package.package.repo_description|truncatewords:20 as short %} {% if grid_package.package.repo_description|length > short|length %} {{ short|wordwrap:30|linebreaksbr|slice:"-3" }}... {% else %} {{ short|wordwrap:30|linebreaksbr }} {% endif %} {% endwith %}
{% trans "Category" %}{{ grid_package.package.category }}
{% trans "# Using This" %} {% with grid_package.package as package %} {{ grid_package.usage_count }} {% usage_button %} {% endwith %}
{% trans "Python 3?" %}{% if grid_package.package.last_released.supports_python3 %}{% else %}{% endif %}
{% trans "Development Status" %} {% with pretty_status=grid_package.package.last_released.pretty_status %} {% if pretty_status %} {{ pretty_status|default:"n/a" }} {% else %} n/a {% endif %} {% endwith %}
{% trans "Last updated" %} {% with last_updated=grid_package.package.last_updated %} {% if last_updated %} {{ last_updated|date:"DATETIME_FORMAT" }} {% endif %} {% endwith %}
{% trans "Version" %}{{ grid_package.package.pypi_version|default:"n/a" }}
{% trans "Repo" %}{{ grid_package.package.repo }}
{% trans "Commits" %}
{% trans "Repo Watchers" %}{{ grid_package.package.repo_watchers|default:"n/a" }}
{% trans "Repo Forks" %}{{ grid_package.package.repo_forks|default:"n/a" }}
{% trans "Participants" %} {% for collaborator in grid_package.package.participant_list %} {% if forloop.counter <= 10 %} {{ collaborator }} {% if not forloop.last %}
{% endif %} {% endif %} {% if forloop.counter == 11 %} {% trans "more..." %} {% endif %} {% endfor %}
{% trans "Documentation" %} {% if grid_package.package.documentation_url.strip and grid_package.package.documentation_url.strip != None %} {% else %} N/A {% endif %}
{{ feature.title }}{% if element %}{{ element.text|style_element|safe|urlize|linebreaksbr }}{% endif %}
Remove from grid?  
{% else %} {% if request.user.is_authenticated and profile.can_add_grid_package %}

 {% trans "Add a package to get a grid view" %}

{% endif %} {% endif %} {% endcache %} {% endblock %} {% block extra_body %} {% endblock %}