{% for prompt in data %} {% set prompt_label = prompt.displayName or prompt.originalName or prompt.name or prompt.id %} {% set prompt_gateway = prompt.gatewaySlug or 'Local' %} {% set prompt_tech_name = prompt.name or prompt.originalName or prompt.id %} {% endfor %}
Actions S. No. Gateway Name Name Description Tags Owner Team Status
{{ (pagination.page - 1) * pagination.per_page + loop.index }} {{ prompt_gateway }}
{{ prompt_label }}
{{ prompt_tech_name }}
{% set clean_desc = (prompt.description or "") | replace('\n', ' ') | replace('\r', ' ') %} {% set refactor_desc = clean_desc | striptags | trim | escape %} {% if refactor_desc | length is greaterthan 220 %} {{ refactor_desc[:400] + "..." }} {% else %} {{ refactor_desc }} {% endif %} {% if prompt.tags %} {% for tag in prompt.tags %}{{ tag.id }}{% endfor %} {% else %}None{% endif %} {{ prompt.owner_email }} {% if prompt.team %}{{ prompt.team }}{% else %}None{% endif %}
{% if prompt.visibility == 'public' %} 🌍 Public {% elif prompt.visibility == 'team' %} πŸ‘₯ Team {% else %} πŸ”’ Private {% endif %} {% set enabled = prompt.enabled %} {% if enabled %}● Active{% else %}● Inactive{% endif %}
{% set base_url = root_path + '/admin/prompts/partial' %} {% set hx_target = '#prompts-table' %} {% set hx_indicator = '#prompts-loading' %} {% set table_name = 'prompts' %} {% set query_params = {'include_inactive': include_inactive} %} {% autoescape false %} {% include 'pagination_controls.html' %} {% endautoescape %}