{% load i18n %} {% comment %} Reusable partial for displaying configuration string values. Parameters: - label: The configuration label (e.g., "Broker:") - value: The value to display - fallback: (optional) Text to show if value is empty/None (default: "Not configured") - code: (optional) Code/URL to display after the value - suffix: (optional) Suffix to append to the value (e.g., "s" for seconds) - help_text: (optional) Explanation text to show below the value {% endcomment %}
{{ code }}
{% endif %}
{% else %}
{% if fallback %}{{ fallback }}{% else %}{% trans 'Not configured' %}{% endif %}
{% endif %}
{% if help_text %}