restore reload icon for legacy app users
parent
6a6b4c46b8
commit
9e89166e2f
|
@ -24,6 +24,7 @@ def before_request():
|
|||
if not get_setting('Bots') and request.headers.get("Authorization"): abort(403)
|
||||
|
||||
g.db = db_session()
|
||||
g.webview = '; wv) ' in ua
|
||||
|
||||
if ' firefox/' in ua:
|
||||
g.type = 'firefox'
|
||||
|
|
|
@ -98,7 +98,11 @@
|
|||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if g.webview %}
|
||||
<button type="button" class="mobile-nav-icon d-md-none" onclick="location.reload()"><i class="fas fa-arrow-rotate-right align-middle text-gray-500 black"></i></button>
|
||||
{% endif %}
|
||||
|
||||
{% if SITE_NAME == 'PCM' %}
|
||||
<a class="mobile-nav-icon d-md-none" href="/live" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Live"><i class="fas fa-circle align-middle black live-circle"></i></a>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue