Add clients info to session's confirmation page

Show the number of clients and their IPs.
multi-ogserver
Javier Sánchez Parra 2022-03-02 17:26:01 +01:00
parent 3271a4a08d
commit 30b3ef90b1
1 changed files with 7 additions and 1 deletions

View File

@ -3,7 +3,13 @@
{% block content %}
<h1 class="m-5">{{_('Start session')}}</h1>
{% set ip_list = form.ips.data.split(' ') %}
{% set ip_count = ip_list | length %}
<h1 class="m-5">
{{ _('Start %(ip_count)d client(s) session', ip_count=ip_count) }}
</h1>
{{ macros.cmd_selected_clients(ip_list) }}
{{ wtf.quick_form(form,
action=url_for('action_session'),