mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-18 01:36:08 +08:00
ui: allow manually set legacy mode
This commit is contained in:
1 parent
e5de4f101b
commit
cca5cb895e
6 files changed
+32
-18
No files matched your search
@@ -1,5 +1,5 @@
|
||||
{% macro render() %}
|
||||
{% if not isIE(handler.request.headers['user-agent']) %}
|
||||
{% if not isIE(handler.request.headers['user-agent']) and not handler.session.legacy %}
|
||||
<noscript><div class="section__body no-padding">
|
||||
<blockquote class="warn">
|
||||
<p>{{ _('This page needs JavaScript to work.') }}</p>
|
||||
|
||||
Reference in new issue
Block a user