diff --git a/app/portal/templates/home.html.j2 b/app/portal/templates/home.html.j2 index 5ad6c30..325f880 100644 --- a/app/portal/templates/home.html.j2 +++ b/app/portal/templates/home.html.j2 @@ -53,6 +53,7 @@

Onion Services

Onionification progress:
+ {% if total_origins > 0 %}

{{ onionified }}/{{ total_origins }}

{{ (onionified / total_origins * 100) | int }}%
+ {% else %} +

No origins configured.

+ {% endif %}
@@ -70,14 +74,18 @@

OONI

Origins with censorship detected:
+ {% if total_origins > 0 %}

{{ ooni_blocked }}/{{ total_origins }}

-
{{ (ooni_blocked / total_origins * 100) | int }}%
+ {% else %} +

No origins configured.

+ {% endif %}