diff --git a/core/themes/seven/templates/entity-add-list.html.twig b/core/themes/seven/templates/entity-add-list.html.twig index 145f858..9a3ba42 100644 --- a/core/themes/seven/templates/entity-add-list.html.twig +++ b/core/themes/seven/templates/entity-add-list.html.twig @@ -4,11 +4,11 @@ * Theme override to to present a list of available bundles. * * Available variables: - * - create_bundle_url: The url to the bundle creation page. - * - bundle_type_label: The lowercase label of the bundle entity type. * - bundles: A list of bundles, each with the following properties: * - add_link: link to create an entity of this bundle. * - description: Bundle description. + * - add_bundle_message: The message shown when there are no bundles. Only + * available if the entity type uses bundle entities. * * @see template_preprocess_entity_add_list() */ @@ -19,10 +19,8 @@
- {% trans %} - Go to the {{ bundle_type_label }} creation page to add a new {{ bundle_type_label }}. - {% endtrans %} + {{ add_bundle_message }}
{% endif %}