2022-06-29 11:28:26 +02:00
|
|
|
{% extends "default.html" %}
|
2021-02-17 12:56:28 +01:00
|
|
|
|
|
|
|
{% set active_page = "dashboard" %}
|
2022-06-29 11:28:26 +02:00
|
|
|
{% block title %}Send {{ alias.email }}{% endblock %}
|
2021-02-17 12:56:28 +01:00
|
|
|
{% block default_content %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-02-17 12:56:28 +01:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-body">
|
|
|
|
<h1 class="h3">Transfer {{ alias.email }}</h1>
|
|
|
|
<p>
|
|
|
|
This page allows you to transfer {{ alias.email }} to another person so they can use it to receive and send
|
|
|
|
emails.
|
|
|
|
</p>
|
2021-03-06 18:07:51 +01:00
|
|
|
{% if alias_transfer_url %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-03-06 18:07:51 +01:00
|
|
|
<em data-toggle="tooltip"
|
|
|
|
title="Click to copy"
|
|
|
|
class="clipboard"
|
|
|
|
data-clipboard-text="{{ alias_transfer_url }}">
|
|
|
|
{{ alias_transfer_url }}
|
|
|
|
</em>
|
2022-06-13 12:41:47 +02:00
|
|
|
<p class="mt-5">
|
2022-06-29 11:28:26 +02:00
|
|
|
Please copy the transfer URL. <strong>We won't be able to display it again</strong>. If you need to access it again you can generate a new URL.
|
2022-06-13 12:41:47 +02:00
|
|
|
</p>
|
|
|
|
<p class="mt-2">
|
2022-06-29 11:28:26 +02:00
|
|
|
This transfer URL is <strong>valid for 24 hours</strong>. If it hasn't been used by then it will be automatically disabled.
|
2022-06-13 12:41:47 +02:00
|
|
|
</p>
|
2021-03-06 18:07:51 +01:00
|
|
|
<form method="post">
|
2022-10-27 10:04:47 +02:00
|
|
|
{{ csrf_form.csrf_token }}
|
2021-03-06 18:07:51 +01:00
|
|
|
<input type="hidden" name="form-name" value="remove">
|
2022-06-13 12:41:47 +02:00
|
|
|
<button class="btn btn-warning mt-2">Remove alias transfer URL</button>
|
2022-06-29 11:28:26 +02:00
|
|
|
<div class="small-text">If you don't want to share this alias anymore, you can remove the share URL.</div>
|
2021-03-06 18:07:51 +01:00
|
|
|
</form>
|
|
|
|
{% else %}
|
2022-06-13 12:41:47 +02:00
|
|
|
{% if link_active %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2022-06-13 12:41:47 +02:00
|
|
|
<p class="alert alert-info">
|
2022-10-27 10:04:47 +02:00
|
|
|
You have an active transfer link. If you don't want to share this alias anymore, please delete the link.
|
2022-06-13 12:41:47 +02:00
|
|
|
</p>
|
|
|
|
<form method="post">
|
2022-10-27 10:04:47 +02:00
|
|
|
{{ csrf_form.csrf_token }}
|
2022-06-13 12:41:47 +02:00
|
|
|
<input type="hidden" name="form-name" value="remove">
|
|
|
|
<button class="btn btn-warning mt-2">Remove alias transfer URL</button>
|
|
|
|
</form>
|
|
|
|
{% else %}
|
|
|
|
<p>
|
2022-06-29 11:28:26 +02:00
|
|
|
In order to transfer ownership,
|
|
|
|
please create the <b>Share URL</b> 👇 and send it to the other person.
|
2022-06-13 12:41:47 +02:00
|
|
|
</p>
|
|
|
|
<form method="post">
|
2022-10-27 10:04:47 +02:00
|
|
|
{{ csrf_form.csrf_token }}
|
2022-06-13 12:41:47 +02:00
|
|
|
<input type="hidden" name="form-name" value="create">
|
|
|
|
<button class="btn btn-primary mt-2">Generate a new alias transfer URL</button>
|
|
|
|
</form>
|
|
|
|
{% endif %}
|
2021-03-06 18:07:51 +01:00
|
|
|
{% endif %}
|
2022-07-04 16:01:04 +02:00
|
|
|
<p class="mt-5">This person can then confirm the reception and become the owner of the alias.</p>
|
2022-06-29 11:28:26 +02:00
|
|
|
<div class="alert alert-danger">After the confirmation, you can no longer use this alias.</div>
|
2021-02-17 12:56:28 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|