diff --git a/airflow/www/templates/airflow/plugin.html b/airflow/www/templates/airflow/plugin.html
index c4ff0e956bb41..04fa9c3a63919 100644
--- a/airflow/www/templates/airflow/plugin.html
+++ b/airflow/www/templates/airflow/plugin.html
@@ -19,38 +19,30 @@
{% extends base_template %}
-
{% block title %}
-
{{ title }}
-
{% endblock %}
-
{% block content %}
-
-
-
-
{{ title }}
-
- {% for plugin in plugins %}
-
{{ plugin["plugin_no"] }}. {{ plugin["plugin_name"] }}
-
-
+ {{ title }}
+ {% if plugins|length == 0 %}
+ No plugins loaded. Learn more in the
+ plugins documentation.
+
+ {% endif %}
+ {% for plugin in plugins %}
+ {{ plugin["plugin_no"] }}. {{ plugin["plugin_name"] }}
+
+
+ Attribute |
+ Value |
+
+ {% for attr, value in plugin["attrs"].items() %}
- Attribute |
- Value |
+ {{ attr }} |
+ {{ value }} |
- {% for attr, value in plugin["attrs"].items() %}
-
- {{ attr }} |
- {{ value }} |
-
- {% endfor %}
-
-
- {% endfor %}
-
-
-
+ {% endfor %}
+
+ {% endfor %}
{% endblock %}