{% extends 'base.html' %}

{% block title %}Consent Required{% endblock %}
{% block content_title %}Consent Required{% endblock %}
{% block content_description %}Access is restricted until required consents are provided{% endblock %}

{% block content %}
<div class="container">
  <div class="alert alert-danger">You currently do not have access because required consents are missing or expired.</div>
  <p>Please contact your Tenant Admin or Management Partner to review and accept the latest Data Privacy Agreement and Terms & Conditions.</p>
  {% if current_user.has_roles('Tenant Admin', 'Partner Admin', 'Super User') %}
    <a href="{{ prefixed_url_for('user_bp.tenant_consent') }}" class="btn btn-primary">Go to Tenant Consents</a>
  {% endif %}
</div>
{% endblock %}
