Public product wall: stop hiding CommuniGate Pro USER

The wall used to hide communigate-pro-user and show
communigate-pro-admin under a generic CommuniGate Pro label instead -
a dedup for when both existed as active services. ADMIN is inactive
now (deliberately, USER is the one meant to be public-facing), so the
exclusion of USER left neither showing on the wall at all. Just list
public_services as-is.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 09:47:22 +00:00
parent a476627c34
commit 034f0b45ff
+5 -7
View File
@@ -264,14 +264,12 @@
<button type="button" class="lg2-distrib-btn" onclick="window.open(location.hostname==='stand.mont.ru'?'https://maps.mont.ru':'https://maps.4mont.ru','_blank')">Продукты нашей дистрибуции</button>
{% set wall_services = public_services|rejectattr('slug', 'equalto', 'communigate-pro-user')|list %}
{% if wall_services %}
<div class="lg2-wall-head" id="products"><h2>Что на полигоне</h2><span class="lg2-wall-count">{{ wall_services|length }} продуктов</span></div>
{% if public_services %}
<div class="lg2-wall-head" id="products"><h2>Что на полигоне</h2><span class="lg2-wall-count">{{ public_services|length }} продуктов</span></div>
<div class="lg2-logo-wall">
{% for service in wall_services %}
{% set wall_name = 'CommuniGate Pro' if service.slug == 'communigate-pro-admin' else service.name %}
<a class="lg2-wall-tile" href="/product/{{ service.slug }}" title="{{ wall_name }} — подробнее">
<img src="{{ service.icon_path or '/static/service-placeholder.svg' }}" alt="{{ wall_name }}" />
{% for service in public_services %}
<a class="lg2-wall-tile" href="/product/{{ service.slug }}" title="{{ service.name }} — подробнее">
<img src="{{ service.icon_path or '/static/service-placeholder.svg' }}" alt="{{ service.name }}" />
</a>
{% endfor %}
</div>