More accurate progress tracker display on encryption stage

This commit is contained in:
Yingtong Li 2018-01-07 20:59:38 +08:00
parent 5380c5c916
commit f6925cd172
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -23,8 +23,10 @@
{# Convert the template name to a numerical index for comparison #} {# Convert the template name to a numerical index for comparison #}
{% if template == 'booth/welcome.html' %} {% if template == 'booth/welcome.html' %}
{% set menuindex = 1 %} {% set menuindex = 1 %}
{% elif template == 'booth/selections.html' or template == 'booth/encrypt.html' %} {% elif template == 'booth/selections.html' %}
{% set menuindex = 2 %} {% set menuindex = 2 %}
{% elif template == 'booth/encrypt.html' %}
{% set menuindex = 2.5 %}
{% elif template == 'booth/review.html' %} {% elif template == 'booth/review.html' %}
{% set menuindex = 3 %} {% set menuindex = 3 %}
{% elif template == 'booth/audit.html' %} {% elif template == 'booth/audit.html' %}