eventcally/project/templates/manage/verification_requests_outgoing_create_select.html
2023-06-02 12:32:08 +02:00

47 lines
2.1 KiB
HTML

{% extends "layout.html" %}
{% set active_id = "verification_requests_outgoing" %}
{% from "_macros.html" import render_text_prop, render_logo, render_location_prop, render_fax_prop, render_phone_prop, render_email_prop,
render_link_prop, render_admin_unit_badges, render_pagination %}
{%- block title -%}
{{ _('Verification requests') }}
{%- endblock -%}
{% block content %}
<h1 class="mb-1">
{{ _('Verification requests') }}
{% if config["DOCS_URL"] %}
<a class="btn btn-outline-info btn-sm m-1 my-auto float-right" href="{{ config["DOCS_URL"] }}/goto/organization-verify" target="_blank" rel="noopener noreferrer" role="button"><i class="fa fa-fw fa-info-circle"></i> {{ _('Docs') }}</a>
{% endif %}
</h1>
<div class="w-normal">
<p class="text-muted">{{ _('Here you can find organizations that can verify other organizations.') }}</p>
{% for other_admin_unit in admin_units %}
<div class="card mb-3">
<div class="card-body p-3">
<h2 class="mt-0">
<a href="{{ url_for('organizations', path=other_admin_unit.id) }}" class="text-body">{{
other_admin_unit.name }}</a>
{{ render_admin_unit_badges(other_admin_unit) }}
</h2>
<div class="row">
{% if other_admin_unit.logo_id %}
<div class="col-12 col-sm-auto order-sm-last">{{ render_logo(other_admin_unit.logo) }}</div>
{% endif %}
<div class="col-12 col-sm">
{{ render_location_prop(other_admin_unit.location) }}
<p>{{ render_text_prop(other_admin_unit.description) }}</p>
<p>{{ render_text_prop(other_admin_unit.incoming_verification_requests_text) }}</p>
<a class="btn btn-primary btn-sm" href="{{ url_for('manage_admin_unit_verification_requests_outgoing_create', id=admin_unit.id, target_id=other_admin_unit.id) }}" role="button"><i class="fa fa-plus"></i> {{ _('Request verification') }}&hellip;</a>
</div>
</div>
</div>
</div>
{% endfor %}
<div class="my-4">{{ render_pagination(pagination) }}</div>
</div>
{% endblock %}