{% extends 'base.html' %} {% load ui_extras %} {% block content %}
| Repository | Name | Created at | Archived at | {% if perms.monolith.change_catalog or perms.monolith.delete_catalog %}{% endif %} {% for catalog in object_list %} |
|---|---|---|---|---|
| {% 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 or perms.monolith.delete_catalog %}{% 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 %} | {% endif %}