mod: данные о последних визитах пользователя полностью перенесены с сервера на клиент (в JS). Отключен из контекста всех шаблонов LAST_VISIT и связанные с ним функции в вьюшках

This commit is contained in:
2026-05-09 21:21:20 +03:00
parent b3aa0ce3b3
commit 978a3ad02e
14 changed files with 193 additions and 143 deletions

View File

@@ -75,11 +75,7 @@
<button type="submit" class="btn btn-primary btn-add">Найти</button>
</span>
</div>
{% if LAST_VISIT %}<div><h5>Ваши последние просмотры:</h5>
<ul style="font-size:small">{% for ITEM in LAST_VISIT %}
<li><a href="{{ ITEM.LastURL }}">{{ ITEM.LastApart }} <small>({{ ITEM.LastAddress }})</small></a> <small style="font-size: xx-small;">{{ ITEM.Time }}</small></li>{% endfor %}
</ul>
</div>{% endif %}
{% include 'report/report_last_user_visit.html' with background_color="None" %}
</form>
<p></p>{% endwith %}