Mercurial > hg > isophonics-drupal-site
view core/modules/node/templates/node-add-list.html.twig @ 13:5fb285c0d0e3
Update Drupal core to 8.4.7 via Composer. Security update; I *think* we've
been lucky to get away with this so far, as we don't support self-registration
which seems to be used by the so-called "drupalgeddon 2" attack that 8.4.5
was vulnerable to.
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:33:26 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
{# /** * @file * Default theme implementation to list node types available for adding content. * * This list is displayed on the Add content admin page. * * Available variables: * - types: A list of content types, each with the following properties: * - add_link: Link to create a piece of content of this type. * - description: Description of this type of content. * * @see template_preprocess_node_add_list() * * @ingroup themeable */ #} {% if types is not empty %} <dl> {% for type in types %} <dt>{{ type.add_link }}</dt> <dd>{{ type.description }}</dd> {% endfor %} </dl> {% else %} <p> {% set create_content = path('node.type_add') %} {% trans %} You have not created any content types yet. Go to the <a href="{{ create_content }}">content type creation page</a> to add a new content type. {% endtrans %} </p> {% endif %}