mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-350 Deprecate client
This commit is contained in:
@@ -119,6 +119,20 @@
|
||||
</div>
|
||||
|
||||
<div id="desktop" class="PNB" style="overflow:hidden;">
|
||||
{% if app.flash('client_deprecated') %}
|
||||
<div id="clientModal" class="modal hide fade" >
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h3>{{ 'Client application is deprecated'|trans }}</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>{{ 'You have been redirected to production application.'|trans }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$('#clientModal').modal();
|
||||
</script>
|
||||
{% endif %}
|
||||
{% set ratio = app['authentication'].getUser().getPrefs('search_window') %}
|
||||
{% if ratio == 0 %}
|
||||
{% set ratio = '0.333' %}
|
||||
|
Reference in New Issue
Block a user