diff --git a/lib/Alchemy/Phrasea/Controller/Prod/Feed.php b/lib/Alchemy/Phrasea/Controller/Prod/Feed.php index 36ff032d48..b85df97637 100644 --- a/lib/Alchemy/Phrasea/Controller/Prod/Feed.php +++ b/lib/Alchemy/Phrasea/Controller/Prod/Feed.php @@ -90,7 +90,7 @@ class Feed implements ControllerProviderInterface return new Response($datas); }) - ->bind('prod_feeds_feed_edit') + ->bind('feed_entry_edit') ->assert('id', '\d+') ->before(function(Request $request) use ($app) { $app['firewall']->requireRight('bas_chupub'); @@ -197,7 +197,7 @@ class Feed implements ControllerProviderInterface return $app->json($datas); }) - ->bind('prod_feeds_feed_delete') + ->bind('feed_entry_delete') ->assert('id', '\d+')->before(function(Request $request) use ($app) { $app['firewall']->requireRight('bas_chupub'); }); diff --git a/templates/web/prod/feeds/entry_macro.html.twig b/templates/web/prod/feeds/entry_macro.html.twig index 3cfcef6244..976d81275a 100644 --- a/templates/web/prod/feeds/entry_macro.html.twig +++ b/templates/web/prod/feeds/entry_macro.html.twig @@ -16,10 +16,10 @@ {% if entry.get_feed().is_owner(app['authentication'].getUser()) or entry.is_publisher(app['authentication'].getUser()) %} - + - + {% endif %} @@ -60,5 +60,4 @@ {% endfor %} - {% endmacro %} \ No newline at end of file diff --git a/templates/web/prod/index.html.twig b/templates/web/prod/index.html.twig index 02e77d4c41..e7e8a55029 100644 --- a/templates/web/prod/index.html.twig +++ b/templates/web/prod/index.html.twig @@ -25,11 +25,11 @@ onclick="cancelEvent(event);return false;" onmousedown="infoSbas(this, {{sbas_id}}, false, event); return false;" id="ck_{{collection["base_id"]}}_{{unique_id}}" type="checkbox" - name="bas[]" value="{{collection["base_id"]}}" {% if collection["selected"] %}checked="checked"{% endif %} /> + name="bases[]" value="{{collection["base_id"]}}" {% if collection["selected"] %}checked="checked"{% endif %} /> @@ -43,7 +43,6 @@ {% endfor %} {% endmacro %} - {% set jquery_theme = 'dark-hive' %} {% extends "common/index_bootstrap.html.twig" %} @@ -52,7 +51,6 @@ {% endblock %} - {% block rss %} {% for feed in feeds %} {% set link = feed.get_user_link(app['phraseanet.registry'], app['authentication'].getUser(), 'rss') %} @@ -62,7 +60,6 @@ {% endfor %} {% endblock %} - {% block stylesheet %} {% endblock %} - {% block javascript %} {% include "common/templates.html.twig" %} {% endblock %} - {% block content %} - {% set search_datas = module_prod.get_search_datas() %}
@@ -125,14 +119,13 @@
- {% set ratio = app['authentication'].getUser().getPrefs('search_window') %} {% if ratio == 0 %} {% set ratio = '0.333' %} {% endif %} {% set w1 = (100 * ratio)|round %} {% set w2 = (100 - w1) %} -
+
    @@ -190,7 +183,7 @@
- +
@@ -281,15 +274,17 @@
-
+
- - - - - +
+ + + +
{% if GV_multiAndReport %} @@ -338,19 +333,21 @@
{% trans 'Trier par ' %} - {% for sort, sort_name in app['phraseanet.SE'].getAvailableSort() %} {% endfor %} - {% for ord, ord_name in app['phraseanet.SE'].getAvailableOrder() %} {% endfor %} {% if app['phraseanet.SE'].hasStemming() %}
- {% trans 'rechercher par stemme' %} +
{% endif %}
@@ -406,9 +403,9 @@ {% if app['phraseanet.SE'].getAvailableDateFields() | length > 0 %}
- {% trans 'Rechercher dans un champ date' %} + + +
{% trans 'Rechercher dans un champ date' %}
{% trans 'phraseanet::time:: de' %} - {% trans 'phraseanet::time:: de' %}
- +
+ + +
{% trans 'phraseanet::time:: a' %} - {% trans 'phraseanet::time:: a' %}
- +
+ + +
@@ -674,9 +677,9 @@