diff options
-rw-r--r-- | ogcp/templates/actions/session.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ogcp/templates/actions/session.html b/ogcp/templates/actions/session.html index 68f0f53..fab5bcf 100644 --- a/ogcp/templates/actions/session.html +++ b/ogcp/templates/actions/session.html @@ -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'), |