mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-17 17:51:50 +02:00
64 lines
2.7 KiB
HTML
64 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 list of email adresses (separated by comma) of people you want to notify about the creation of this project. 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 %}
|