{% extends "site/layout/base_text.html" %} {% load com %} {% load i18n %} {% load local_perms %} {% block title %} {% blocktrans %}Embed text{% endblocktrans %} {% endblock %} {% block main %} {% get_local_perm request can_manage_workspace as can_manage_workspace %} {% get_local_perm request can_view_unapproved_comment as can_view_unapproved_comment %} {% get_local_text_perm request text can_manage_text as can_manage_text %}

{% blocktrans %}Embed text{% endblocktrans %}

{% blocktrans %}Copy this code into your site to display text with comments.{% endblocktrans %} {% blocktrans %}Users will also be able to add comments from your site depending on anonymous users' roles.{% endblocktrans %} (?)

{% if not anonymous_can_view_text %} {% if can_manage_text %}

{% blocktrans %}Warning:{% endblocktrans %}{% blocktrans %}You won't successfully embed the text before you give anonymous users a role allowing them to view the text.{% endblocktrans %}

{% endif %} {% endif %}
{% endblock %}