annotate sat_templates/templates/bulma/invitation/manager.html @ 284:671085989f2f

bulma (photo/item): display delete icon when user is album owner and no affiliation is set
author Goffi <goffi@goffi.org>
date Tue, 25 Aug 2020 08:46:53 +0200
parents dbdaf1d7442b
children 60979d67eae7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
260
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% import 'input/form.html' as form with context %}
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% import 'input/field.html' as field with context %}
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
3 {% import 'input/textbox.html' as textbox with context %}
275
dbdaf1d7442b bulma (invitation/manager.html): simpler manager, taking profit of dynamism
Goffi <goffi@goffi.org>
parents: 260
diff changeset
4 {% import 'dialogs/macros.html' as dialog with context %}
260
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
5 <div class="wrapper">
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
6 <div class="panel_wrapper click_to_close">
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
7 <div class="invitation_manager_side_panel">
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
8 <section class="section">
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
9 <div class="message is-info">
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
10 <div class="message-body">
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
11 {% trans %}in this panel, you can manage people who can access this album, and send invitations{% endtrans %}
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
12 </div>
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
13 </div>
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
14 </section>
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
15 <section class="section">
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
16 <div id="affiliations">
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
17 <h4 class="title is-4">{% trans %}people who can access this album{% endtrans %}</h4>
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
18 </div>
275
dbdaf1d7442b bulma (invitation/manager.html): simpler manager, taking profit of dynamism
Goffi <goffi@goffi.org>
parents: 260
diff changeset
19 {% call form.form(id="invitation_form", class="mt-4") %}
dbdaf1d7442b bulma (invitation/manager.html): simpler manager, taking profit of dynamism
Goffi <goffi@goffi.org>
parents: 260
diff changeset
20 {{ textbox.head(event_service, event_node, 'event') }}
dbdaf1d7442b bulma (invitation/manager.html): simpler manager, taking profit of dynamism
Goffi <goffi@goffi.org>
parents: 260
diff changeset
21 {{ field.meta('event_id', event_id) }}
dbdaf1d7442b bulma (invitation/manager.html): simpler manager, taking profit of dynamism
Goffi <goffi@goffi.org>
parents: 260
diff changeset
22 {% call dialog.search_dialog(id="invitation_contact_search", class="is-block") %}
dbdaf1d7442b bulma (invitation/manager.html): simpler manager, taking profit of dynamism
Goffi <goffi@goffi.org>
parents: 260
diff changeset
23 {{ field.text("contact", placeholder=_("name or identifier of a person to invite"), autocomplete="off", icon_left="person") }}
dbdaf1d7442b bulma (invitation/manager.html): simpler manager, taking profit of dynamism
Goffi <goffi@goffi.org>
parents: 260
diff changeset
24 {% endcall %}
dbdaf1d7442b bulma (invitation/manager.html): simpler manager, taking profit of dynamism
Goffi <goffi@goffi.org>
parents: 260
diff changeset
25 <button id="invite_email" class="button mt-6">
dbdaf1d7442b bulma (invitation/manager.html): simpler manager, taking profit of dynamism
Goffi <goffi@goffi.org>
parents: 260
diff changeset
26 <i class="icon-mail"></i> {% trans %}invite by email{% endtrans %}
dbdaf1d7442b bulma (invitation/manager.html): simpler manager, taking profit of dynamism
Goffi <goffi@goffi.org>
parents: 260
diff changeset
27 </button>
dbdaf1d7442b bulma (invitation/manager.html): simpler manager, taking profit of dynamism
Goffi <goffi@goffi.org>
parents: 260
diff changeset
28 {% endcall %}
260
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
29 </section>
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
30 </div>
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
31 </div>
caadb06854a0 bulma (invitation): invitation manager first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
32 </div>