{%- from "invenio_app_rdm/records/macros/creatibutors.html" import show_creatibutors %} {% macro invitation_request_header(back_button_url=None, back_button_text=None, request=None, accepted=False) %} {# Renders the member invitation request header block with: - a back button - a `View community` button, when accepted - the request's title #}
{% if back_button_url and back_button_text %}
{{ back_button_text }}
{% endif %}
{% if accepted %} {{ _("View Community") }} {% endif %}

{{ request.title }}

{{ request.description|safe }}

{% endmacro %} {% macro inclusion_request_header(back_button_url=None, back_button_text=None, request=None, record=None, accepted=False) %} {# Renders the record inclusion request header block with: - a back button - a `View record` button, when accepted - the request's title - the record's creators, when record is passed #}
{% if back_button_url and back_button_text %}
{{ back_button_text }}
{% endif %}
{% if accepted and record %} {{ _("View record") }} {% endif %}

{{ request.title }}

{{ request.description|safe }}

{% if record %} {% endif %}
{% endmacro %}