{% 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 javascript %} {% endblock javascript %} {% block extra_head %} {{ block.super }} {% endblock %} {% block body %}
{{ grid.description|urlize|linebreaksbr }}
{% if features %}
Package | {% for attribute_name, display_name in attributes %} {% if display_name %}{{ display_name }} | {% else %}{{ attribute_name }} | {% endif %} {% endfor %} {% for feature in features %}{{ feature.title }} | {% endfor %}|
---|---|---|---|---|
{{ package.package.title }}
{% if perms.grid.delete_gridpackage %} ![]() |
{% for attribute_name, display_name in attributes %}
{% if attribute_name == "participant_list" %}
{% for collaborator in package.package.participant_list %}
{% if forloop.counter <= 10 %}
{{ collaborator }}
{% if not forloop.last %}
{% endif %} {% endif %} {% if forloop.counter == 11 %} more... {% endif %} {% endfor %} |
{% else %}
{% if attribute_name == "repo" %}
{{ package.package.repo }} | {% else %} {% with attribute_name|style_attribute:package.package as val %}{{ val }} | {% endwith %} {% endif %} {% endif %} {% endfor %} {% for feature in features %} {% with elements|hash:feature.pk|hash:package.pk as element %}{% if element %}{{ element.text|style_element|safe|urlize|linebreaksbr }}{% endif %} | {% endwith %} {% endfor %}
Package | {% for attribute_name, display_name in attributes %} {% if display_name %}{{ display_name }} | {% else %}{{ attribute_name }} | {% endif %} {% endfor %} {% for feature in features %}{{ feature.title }} | {% endfor %}
Highlighted cells are editable. Click highlighted cells to change text.