{# -*- coding: utf-8 -*-

  This file is part of Invenio.
  Copyright (C) 2022 CERN.

  Invenio is free software; you can redistribute it and/or modify it
  under the terms of the MIT License; see LICENSE file for more details.
#}
{% set title = invenio_request.title %}
{% extends "invenio_requests/details/index.html" %}
{% from "invenio_requests/macros/request_header.html" import invitation_request_header %}


{% block request_header %}
  {% set back_button_url = url_for("invenio_app_rdm_users.requests") %}
  {{
    invitation_request_header(
      back_button_url=back_button_url,
      back_button_text=_("Back to requests"),
      request=invenio_request,
      accepted=request_is_accepted
    )
  }}
{% endblock %}

{% set active_dashboard_menu_item = 'requests' %}
