{% for resource in data %} {% set can_modify = is_admin or resource.ownerEmail == current_user_email or (resource.visibility == 'team' and resource.teamId and user_team_roles.get(resource.teamId|string) == 'owner') %} {% endfor %}
Actions Source Name Description Tags Owner Team Status
{{ resource.id }}
{{ resource.uri }}
{{ resource.name }}
{% if resource.title %}
{{ resource.title }}
{% endif %}
{{ (resource.description or 'N/A') | decode_html }} {% if resource.tags %}{% for tag in resource.tags %}{% if tag is mapping %}{{ tag.id }}{% else %}{{ tag }}{% endif %}{% endfor %}{% else %}None{% endif %} {% if resource.ownerEmail %}{{ resource.ownerEmail }}{% else %}None{% endif %} {% if resource.team %}{{ resource.team }}{% else %}None{% endif %}
{{ resource.mimeType or 'N/A' }} {% if resource.visibility == 'public' %} 🌍 Public {% elif resource.visibility == 'team' %} 👥 Team {% else %} 🔒 Private {% endif %} {% if resource.enabled %}● Active{% else %}● Inactive{% endif %}
{% set base_url = root_path + '/admin/resources/partial' %} {% set hx_target = '#resources-table' %} {% set hx_swap = 'outerHTML' %} {% set hx_indicator = '#resources-loading' %} {% set table_name = 'resources' %} {% set query_params = query_params if query_params is defined else {'include_inactive': include_inactive} %} {% include 'pagination_controls.html' %}