mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-03 19:51:49 +02:00

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.
65 lines
2.7 KiB
HTML
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 %}
|