ihatemoney/ihatemoney/templates/send_invites.html
Baptiste Jonglez 24d3980977 Invite page: document the security implication of all options
Also move the "invitation link" option first, because it's the preferred
way to give access to people that only need to handle participants and
bills.

Sharing the identifier and private becomes the last option, because it
gives full access to changing settings.
2023-07-29 13:15:54 +02:00

65 lines
2.7 KiB
HTML

{% extends "layout.html" %}
{% block content %}
<h1>{{ _("Invite people to join this project") }}</h1>
<table class="table">
<tbody>
<tr>
<td>
<h3>{{ _('Share an invitation link') }}</h3>
</td>
<td>
{{ _("The easiest way to invite people is to give them the following invitation link.<br />They will be able to access the project, manage participants, add/edit/delete bills. However, they will not have access to important settings such as changing the private code or deleting the whole project.") }}</br>
<a href="{{ url_for(".join_project", _external=True, project_id=g.project.id, token=g.project.generate_token()) }}">
{{ url_for(".join_project", _external=True, project_id=g.project.id, token=g.project.generate_token()) }}
</a>
</td>
</tr>
<tr>
<td>
<h3>{{ _('Scan QR code') }}</h3>
<p><small><a href="{{ url_for(".mobile") }}">{{ _("Use a mobile device with a compatible app.") }}</a></small></p>
</td>
<td>
{{ qrcode | safe }}
</td>
</tr>
<tr>
<td>
<h3>{{ _('Send via Emails') }}</h3>
</td>
<td>
<p>{{ _("Specify a (comma separated) list of email adresses you want to notify about the
creation of this budget management project and we will send them an email with the invitation link.") }}</p>
{% include "display_errors.html" %}
<form class="invites form-horizontal" method="post" accept-charset="utf-8">
{{ forms.invites(form) }}
</form>
</td>
</tr>
<tr>
<td>
<h3>{{ _('Share Identifier & code') }}</h3>
</td>
<td>
<p>{{ _("You can share the project identifier and the private code by any communication means.<br />Anyone with the private code will have access to the full project, including changing settings such as the private code or project email address, or even deleting the whole project.") }}</p>
<p>
<strong>{{ _('Identifier:') }}</strong> <a href="{{ url_for("main.list_bills", project_id=g.project.id) }}">{{ g.project.id }}</a>
<br />
<strong>{{ _('Private code:') }}</strong> {{ _('the private code was defined when you created the project') }}
</p>
</td>
</tr>
</tbody>
</table>
<script>
$(function() {
$('#emails').tagsInput({
'delimiter': [',',';','\t']
});
})
</script>
{% endblock %}