{% load dict_key_extras %}
Title | Owner | Can read | Can write | Public | Actions | {% for object in objects %}
---|---|---|---|---|---|
{{ object.name }} | {{ object.user }} | {{ object.can_read }} | {{ object.can_write }} | {{ object.is_public }} | {% if come_from_admin %} View data {% else %} View data {% endif %} {% if object.is_owner %} {% if come_from_admin %} Edit {% else %} Edit {% endif %} {% if not object.is_public %} Delete {% if data.can_set_public %} Set public {% endif %} {% endif %} {% endif %} |