mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Warn the user if an unsupported, deprecated or unknown browser is detected. Fixes #5399
This commit is contained in:
13
web/pgadmin/browser/templates/browser/browser.html
Normal file
13
web/pgadmin/browser/templates/browser/browser.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% if known %}
|
||||
<p>{{ _('Your browser was detected as <strong>{0}</strong> version
|
||||
<strong>{1}</strong>, which is either deprecated or not supported by
|
||||
pgAdmin 4.').format(browser, version) }}</p>
|
||||
{% else %}
|
||||
<p>{{ _('Your browser was detected as <strong>{0}</strong> version
|
||||
<strong>{1}</strong>, which pgAdmin has not been tested with. pgAdmin may
|
||||
not work as expected, and any issues reported when using this browser may
|
||||
not be fixed.').format(browser, version) }}</p>
|
||||
{% endif %}
|
||||
<p>{{ _('Please visit the <a class="alert-link"
|
||||
href="https://www.pgadmin.org/faq/#11" target="_new">FAQ</a> to see the
|
||||
supported browsers.') }}</p>
|
||||
Reference in New Issue
Block a user