diff --git a/plinth/templates/clients.html b/plinth/templates/clients.html
index 74080e838..d2da15e2a 100644
--- a/plinth/templates/clients.html
+++ b/plinth/templates/clients.html
@@ -68,16 +68,18 @@
{% for platform in client.platforms %}
{% if platform.type == 'download' %}
- {% with 'theme/icons/'|add:platform.os|add:'.png' as icon %}
-
- {% if platform.os == 'gnu-linux' %}
- {% trans 'GNU/Linux' %}
- {% elif platform.os == 'windows' %}
- {% trans 'Windows' %}
- {% elif platform.os == 'macos' %}
- {% trans 'macOS' %}
- {% endif %}
- {% endwith %}
+
+ {% with 'theme/icons/'|add:platform.os|add:'.png' as icon %}
+
+ {% if platform.os == 'gnu-linux' %}
+ {% trans 'GNU/Linux' %}
+ {% elif platform.os == 'windows' %}
+ {% trans 'Windows' %}
+ {% elif platform.os == 'macos' %}
+ {% trans 'macOS' %}
+ {% endif %}
+ {% endwith %}
+
{% endif %}
{% endfor %}
@@ -97,16 +99,18 @@
{% for platform in client.platforms %}
{% if platform.type == 'store' and platform.os == 'android' or platform.os == 'ios' %}
- {% with 'theme/icons/'|add:platform.store_name|add:'.png' as icon %}
-
- {% if platform.store_name == 'google-play' %}
- {% trans 'Play Store' %}
- {% elif platform.store_name == 'f-droid' %}
- {% trans 'F-Droid' %}
- {% elif platform.store_name == 'app-store' %}
- {% trans 'App Store' %}
- {% endif %}
- {% endwith %}
+
+ {% with 'theme/icons/'|add:platform.store_name|add:'.png' as icon %}
+
+ {% if platform.store_name == 'google-play' %}
+ {% trans 'Play Store' %}
+ {% elif platform.store_name == 'f-droid' %}
+ {% trans 'F-Droid' %}
+ {% elif platform.store_name == 'app-store' %}
+ {% trans 'App Store' %}
+ {% endif %}
+ {% endwith %}
+
{% endif %}
{% endfor %}