{% extends 'generic/_base.html' %} {% load buttons %} {% load helpers %} {% load i18n %} {% load render_table from django_tables2 %} {% block title %}{% trans "Settings" %}{% endblock %} {% block controls %} {% if not is_diode_target_overridden %}
{% block control-buttons %} {% url 'plugins:netbox_diode_plugin:settings_edit' as edit_url %} {% include "buttons/edit.html" with url=edit_url %} {% endblock control-buttons %}
{% endif %} {% endblock controls %} {% block content %}
{% trans "Diode target" %} {{ diode_target }}
{% if diode_users_errors %} {% endif %}

{% trans "Diode users" %}

{% for username, user_info in diode_users_info.items %} {% endfor %}
{% trans "Username" %} {% trans "API key" %} {% trans "Environment variable" %}
{{ username }} {{ user_info.api_key|placeholder }} Map to environment variable {{ user_info.env_var_name}} in Diode service{% if user_info.env_var_name == "DIODE_API_KEY" %} and Diode SDK{% endif %}
{% endblock content %}