{% extends 'base.html' %} {% load ui_extras %} {% block content %}

Catalogs ({{ object_list|length }})

{% if perms.monolith.add_catalog %} {% url 'monolith:create_catalog' as url %} {% button 'CREATE' url "Create new Monolith catalog" %} {% endif %}
{% if perms.monolith.change_catalog or perms.monolith.delete_catalog %} {% endif %} {% for catalog in object_list %} {% if perms.monolith.change_catalog or perms.monolith.delete_catalog %} {% endif %} {% endfor %}
Repository Name Created at Archived at
{% if perms.monolith.view_repository %} {{ catalog.repository }} {% else %} {{ catalog.repository }} {% endif %} {{ catalog.name }} {{ catalog.created_at }} {{ catalog.archived_at|default:"-" }} {% if perms.monolith.change_catalog and catalog.can_be_updated %} {% url 'monolith:update_catalog' catalog.id as url %} {% button 'UPDATE' url "Edit catalog" %} {% endif %} {% if perms.monolith.delete_catalog and catalog.can_be_deleted %} {% url 'monolith:delete_catalog' catalog.id as url %} {% button 'DELETE' url "Delete catalog" %} {% endif %}
{% endblock %}