| {{ pkg_info.version }} |
{% for catalog in pkg_info.catalogs %}{% if perms.monolith.view_catalog %}{{ catalog.name }}{% else %}{{ catalog.name }}{% endif %}{% if not forloop.last %}, {% endif %}{% endfor %}
|
{% if pkg_info.options %}
{% for tag in pkg_info.options.excluded_tags %}
{% inventory_tag tag %}
{% empty %}
-
{% endfor %}
|
{{ pkg_info.options.shards.default }}/{{ pkg_info.options.shards.modulo }}
|
{% if pkg_info.options.shards.tags %}
{% for tag, shard in pkg_info.options.shards.tags %}
| {% inventory_tag tag %} | {{ shard }} |
{% endfor %}
{% else %}
-
{% endif %}
|
{% else %}
- |
- |
- |
{% endif %}
{{ pkg_info.count }}{% if pkg_info.percent %} - {{ pkg_info.percent|floatformat }}%{% endif %} |
{% if perms.monolith.delete_pkginfo or perms.monolith.change_pkginfo %}
{% if pkg_info.local %}
{% if perms.monolith.change_pkginfo %}
{% url 'monolith:update_package' pkg_info.pk as url %}
{% button 'UPDATE' url "Edit PkgInfo" %}
{% endif %}
{% if perms.monolith.delete_pkginfo %}
{% url 'monolith:delete_pkg_info' pkg_info.pk as url %}
{% button 'DELETE' url "Delete PkgInfo" %}
{% endif %}
{% else %}
{% if perms.monolith.change_pkginfo and pkg_info.local %}
{% url 'monolith:update_pkg_info_catalog' pkg_info.pk as url %}
{% button 'UPDATE' url "Change PkgInfo catalogs" %}
{% endif %}
{% endif %}
|
{% endif %}
{% endfor %}
{% endfor %}