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:
@@ -8,29 +8,11 @@
|
||||
</li>
|
||||
{% if module != "lightbox" and app['authentication'].isAuthenticated() %}
|
||||
<li>
|
||||
{% if module == "prod" %}
|
||||
<a target="_self" href="{{ path('get_client') }}">
|
||||
<a target="_blank" href="{{ path('prod') }}">
|
||||
<span class="">
|
||||
{% trans 'admin::monitor: Ancienne version (client)' %}
|
||||
{% trans 'admin::monitor: production' %}
|
||||
</span>
|
||||
</a>
|
||||
{% else %}
|
||||
{% if app['browser'].isNewGeneration %}
|
||||
{% if module == "client" %}
|
||||
<a target="_self" href="{{ path('prod') }}">
|
||||
<span class="">
|
||||
{% trans 'admin::monitor: Nouvelle version (prod)' %}
|
||||
</span>
|
||||
</a>
|
||||
{% else %}
|
||||
<a target="_blank" href="{{ path('prod') }}">
|
||||
<span class="">
|
||||
{% trans 'admin::monitor: production' %}
|
||||
</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</li>
|
||||
|
||||
{% if app['browser'].isNewGeneration and app['phraseanet.registry'].get('GV_thesaurus') == true and app['authentication'].getUser().ACL.has_access_to_module('thesaurus') %}
|
||||
@@ -95,7 +77,7 @@
|
||||
{% endif %}
|
||||
|
||||
{# MODULE #}
|
||||
{% if module == "prod" or module == "client" %}
|
||||
{% if module == "prod" %}
|
||||
<li>
|
||||
<a href="#" onclick="getHome('PUBLI');" >
|
||||
<span>
|
||||
@@ -122,7 +104,7 @@
|
||||
<div class="PNB" style="left:auto;overflow:hidden;">
|
||||
<ol>
|
||||
|
||||
{% if app['authentication'].isAuthenticated() and (module == "client" or module == "prod") %}
|
||||
{% if app['authentication'].isAuthenticated() and module == "prod" %}
|
||||
<li id="notification_trigger">
|
||||
<a href="#" style="font-weight:bold;text-decoration:none;">
|
||||
<span>
|
||||
@@ -192,7 +174,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if app['authentication'].isAuthenticated() and (module == "client" or module == "prod") %}
|
||||
{% if app['authentication'].isAuthenticated() and module == "prod" %}
|
||||
<div style="display:none;z-index:30000;" id="notification_box">
|
||||
{% set notifications = app['events-manager'].get_notifications %}
|
||||
{% include 'prod/notifications.html.twig' %}
|
||||
|
Reference in New Issue
Block a user