{% extends "base.html" %} {% block title %}{{ _('Action Type') }} #{{ action_type.id }}: {{ action_type.name | get_translated_text(default=_('Unnamed Action Type')) }} — {{ service_name }}{% endblock %} {% block content %}

{{ action_type.name | get_translated_text(default=_('Unnamed Action Type')) }} {{ import_information_symbol(action_type) }}

{{ _('Description') }}
{{ action_type.description | get_translated_text(default='—') }}
{{ _('Object Name (Singular)') }}
{{ action_type.object_name | get_translated_text(default=_('Object')) }}
{{ _('Object Name (Plural)') }}
{{ action_type.object_name_plural | get_translated_text(default=_('Objects')) }}
{{ _('View Text') }}
{{ action_type.view_text | get_translated_text(default=_('View Objects')) }}
{{ _('Perform Text') }}
{{ action_type.perform_text | get_translated_text(default=_('Create Object')) }}
{{ _('Only for Administrators') }}
{% if action_type.admin_only %} {{ _('Yes, only administrators can create actions of this type') }}{% else %} {{ _('No, all users can create actions of this type') }}{% endif %}
{{ _('Show on Frontpage') }}
{% if action_type.show_on_frontpage %} {{ _('Yes, this action type should be shown on the frontpage') }}{% else %} {{ _('No, this action type should not be shown on the frontpage') }}{% endif %}
{{ _('Show on Navbar') }}
{% if action_type.show_in_navbar %} {{ _('Yes, actions of this type should be shown in the navbar') }}{% else %} {{ _('No, actions of this type should not be shown in the navbar') }}{% endif %}
{{ _('Enable Labels') }}
{% if action_type.enable_labels %} {{ _('Yes, labels are enabled for objects created with actions of this type') }}{% else %} {{ _('No, labels are disabled for objects created with actions of this type') }}{% endif %}
{{ _('Enable Files') }}
{% if action_type.enable_files %} {{ _('Yes, files are enabled for objects created with actions of this type') }}{% else %} {{ _('No, files are disabled for objects created with actions of this type') }}{% endif %}
{{ _('Enable Locations and Responsible Users') }}
{% if action_type.enable_locations %} {{ _('Yes, locations and responsible users are enabled for objects created with actions of this type') }}{% else %} {{ _('No, locations and responsible users are disabled for objects created with actions of this type') }}{% endif %}
{{ _('Enable Publications') }}
{% if action_type.enable_publications %} {{ _('Yes, publications are enabled for objects created with actions of this type') }}{% else %} {{ _('No, publications are disabled for objects created with actions of this type') }}{% endif %}
{{ _('Enable Comments') }}
{% if action_type.enable_comments %} {{ _('Yes, comments are enabled for objects created with actions of this type') }}{% else %} {{ _('No, comments are disabled for objects created with actions of this type') }}{% endif %}
{{ _('Enable Activity Log') }}
{% if action_type.enable_activity_log %} {{ _('Yes, the activity log is enabled for objects created with actions of this type') }}{% else %} {{ _('No, the activity log is disabled for objects created with actions of this type') }}{% endif %}
{{ _('Enable Related Objects') }}
{% if action_type.enable_related_objects %} {{ _('Yes, show related objects for objects created with actions of this type') }}{% else %} {{ _('No, do not show related objects for objects created with actions of this type') }}{% endif %}
{{ _('Disable Creating Objects') }}
{% if action_type.disable_create_objects %} {{ _('Yes, disable creating objects of this type') }}{% else %} {{ _('No, allow creating objects of this type') }}{% endif %}
{{ _('Allow including as Schema Template') }}
{% if action_type.is_template %} {{ _('Yes, allow including actions of this type as schema templates in other actions') }}{% else %} {{ _('No, disable including actions of this type as schema templates in other actions') }}{% endif %}
{{ _("Usable in") }}
{% if action_type.usable_in_action_types|length == 0 %}—{% else %} {% for action_type in action_type.usable_in_action_types %} {{action_type.name | get_translated_text(default=_('Unnamed Action Type'))}}{{ ", " if not loop.last else "" }} {% endfor %}{% endif %}
{{ _("SciCat Export Type") }}
{% if action_type.scicat_export_type is none %}—{% else %}{{ action_type.scicat_export_type.name.lower().replace('_', ' ') }}{% endif %}
{{ _('View Actions') }} {% if current_user.is_admin and not current_user.is_readonly and action_type.fed_id is none %} {{ _('Edit Action Type') }} {% endif %} {% endblock %}