{% extends "dashboard.html" %} {% block head %} {% endblock %} {% block content %}
Loading custom configurations...
| Name | Type | Method | Service | Status | Template | Checksum | Actions | ||
|---|---|---|---|---|---|---|---|---|---|
| {{ config["name"] }} |
{{ config["type"]|upper }}
|
{{ config["method"] }} | {% if config["service_id"] %} {{ config["service_id"] }} {% else %} Global {% endif %} | {% if config.get("is_draft") %} Draft {% else %} Online {% endif %} | {% if config["template"] %} {{ config["template"] }} {% else %} No template {% endif %} | {{ config["checksum"] }} |
{% set can_edit_config = config['template'] or is_editable_method(config['method']) %}
{% set row_selection = [{"service": service_id, "type": config['type'], "name": config['name']}] | tojson %}
{% set delete_tooltip_key = 'tooltip.disabled_readonly' if user_readonly else ('tooltip.disabled_db_readonly' if is_readonly else ('tooltip.disabled_by_method' if not can_edit_config else 'tooltip.button.delete_config')) %}
{% set delete_tooltip_options = '{"method": "' ~ config['method'] ~ '"}' if not can_edit_config and not is_readonly else '{"name": "' ~ config['name'] ~ '"}' %}
|