{% for gateway in data %} {% set gateway_label = gateway.name or gateway.id %} {% endfor %}
Actions S. No. Name URL Tags Status Last Seen Owner Team Visibility
{% if gateway.authType == 'oauth' %} πŸ” Authorize {% endif %}
{{ (pagination.page - 1) * pagination.per_page + loop.index }} {{ gateway.name }} {{ gateway.url }} {% if gateway.tags %} {% for tag in gateway.tags %} {% if tag is mapping %}{{ tag.id }}{% else %}{{ tag }}{% endif %} {% endfor %} {% else %} None {% endif %} {% if gateway.enabled %} Active {% else %} Inactive {% endif %} {% if gateway.lastSeen %}{{ gateway.lastSeen[:19] if gateway.lastSeen is string else gateway.lastSeen.strftime('%Y-%m-%d %H:%M:%S') }}{% else %}Never{% endif %} {% if gateway.ownerEmail %}{{ gateway.ownerEmail }}{% else %}N/A{% endif %} {% if gateway.team %}{{ gateway.team }}{% else %}None{% endif %} {% if gateway.visibility == 'private' %} πŸ”’ Private {% elif gateway.visibility == 'team' %} πŸ‘₯ Team {% elif gateway.visibility == 'public' %} 🌍 Public {% else %} N/A {% endif %}
{% set base_url = root_path + '/admin/gateways/partial' %} {% set hx_target = '#gateways-table' %} {% set hx_indicator = '#gateways-loading' %} {% set table_name = 'gateways' %} {% set query_params = {'include_inactive': include_inactive} %} {% autoescape false %} {% include 'pagination_controls.html' %} {% endautoescape %}