+ {% captureas url_create_container %}{% url "content:create-container" content.pk content.slug %}{% endcaptureas %}
+ {% captureas url_create_extract %}{% url "content:create-extract" content.pk content.slug %}{% endcaptureas %}
+ {% blocktrans %}
- {% trans "Ce contenu est vide." %} {% trans "Vous pouvez :" %}
+ Ce contenu est vide. Vous pouvez :
+ {% endblocktrans %}
{% endif %}
{% endfor %}
diff --git a/templates/tutorialv2/view/container.html b/templates/tutorialv2/view/container.html
index d678026dd3..7165ce3ec8 100644
--- a/templates/tutorialv2/view/container.html
+++ b/templates/tutorialv2/view/container.html
@@ -129,24 +129,32 @@
{{ "Ce"|feminize:container.get_level_as_string }} {{ container.get_level_as_string|lower }} {% trans " est vide." %}
{% if container.can_add_extract and container.can_add_container %}
+ {% captureas url_create_container %}
+ {% if container.parent == content %}
+ {% url "content:create-container" content.pk content.slug container.slug %}
+ {% else %}
+ {% url "content:create-container" content.pk content.slug container.parent.slug %}
+ {% endif %}
+ {% endcaptureas %}
+ {% captureas url_create_extract %}
+ {% if container.parent == content %}
+ {% url "content:create-extract" content.pk content.slug container.slug %}
+ {% else %}
+ {% url "content:create-extract" content.pk content.slug container.parent.slug %}
+ {% endif %}
+ {% endcaptureas %}
+ {% blocktrans %}