{% extends 'creme_core/bricks/base/base.html' %} {% load i18n creme_widgets creme_bricks %}{% load print_field from creme_core_tags %} {% block brick_extra_class %}brick-kv-list creme_core-ptype-info-brick{% endblock %} {% comment %} {# version with groups as large as the brick #} {% block brick_content_extra_class %}-kv-full-width-groups{% endblock %} {% endcomment %} {% block brick_header_title %} {% brick_header_title title=_('General information') icon='property' %} {% endblock %} {% block brick_content %}
{% translate 'Text' %}
{% print_field object=object field='text' %}
{% translate 'Applies on entities with following types' %}
{% for ctype in ctypes %}{% widget_join %}{% widget_ctype_hyperlink ctype=ctype user=user %}{% end_widget_join %}{% empty %}{% translate "No related type of resource" %}{% endfor %}
{% translate 'Is copiable' %}
{% print_field object=object field='is_copiable' %}
{% translate 'Statistics' %}
{% blocktranslate count count_stat as count %}{{count}} entity with this property{% plural %}{{count}} entities with this property{% endblocktranslate %}
{% endblock %}