Version 1
[yaffs-website] / web / core / modules / views_ui / templates / views-ui-view-displays-list.html.twig
diff --git a/web/core/modules/views_ui/templates/views-ui-view-displays-list.html.twig b/web/core/modules/views_ui/templates/views-ui-view-displays-list.html.twig
new file mode 100644 (file)
index 0000000..1c7d621
--- /dev/null
@@ -0,0 +1,24 @@
+{#
+/**
+ * @file
+ * Default theme implementation for views displays on the views listing page.
+ *
+ * Available variables:
+ * - displays: Contains multiple display instances. Each display contains:
+ *   - display: Display name.
+ *   - path: Path to display, if any.
+ *
+ * @ingroup themeable
+ */
+#}
+<ul>
+  {% for display in displays %}
+    <li>
+      {% if display.path %}
+        {{ display.display }} <span data-drupal-selector="views-table-filter-text-source">({{ display.path }})</span>
+      {% else %}
+        {{ display.display }}
+      {% endif %}
+    </li>
+  {% endfor %}
+</ul>