From f21d126295ffad6bb59a13705a947e0ed059635e Mon Sep 17 00:00:00 2001 From: Harrys Ravalomanana Date: Fri, 15 May 2020 13:05:51 +0400 Subject: [PATCH] PHRAS-3072 --- lib/Alchemy/Phrasea/Controller/Prod/FeedController.php | 6 ++++-- templates/web/prod/WorkZone/Browser/Results.html.twig | 4 ++-- templates/web/prod/actions/publish/publish.html.twig | 4 +++- templates/web/prod/actions/publish/publish_edit.html.twig | 6 ++++-- templates/web/prod/results/entry.html.twig | 3 ++- templates/web/prod/results/feeds_entry.html.twig | 2 +- 6 files changed, 16 insertions(+), 9 deletions(-) diff --git a/lib/Alchemy/Phrasea/Controller/Prod/FeedController.php b/lib/Alchemy/Phrasea/Controller/Prod/FeedController.php index 86c8baa370..96a32d883c 100644 --- a/lib/Alchemy/Phrasea/Controller/Prod/FeedController.php +++ b/lib/Alchemy/Phrasea/Controller/Prod/FeedController.php @@ -268,9 +268,11 @@ class FeedController extends Controller 'texte' => '

' . $this->app->trans( 'publication::Voici votre fil RSS personnel. Il vous permettra d\'etre tenu au courrant des publications.' ) . '

' . $this->app->trans('publications::Ne le partagez pas, il est strictement confidentiel') . '

-
', - 'titre' => $this->app->trans('publications::votre rss personnel') +
', + 'titre' => $this->app->trans('publications::votre rss personnel'), ]); + } public function ensureUserHasPublishRight() diff --git a/templates/web/prod/WorkZone/Browser/Results.html.twig b/templates/web/prod/WorkZone/Browser/Results.html.twig index 01625fcb4f..9ac3a5fa06 100644 --- a/templates/web/prod/WorkZone/Browser/Results.html.twig +++ b/templates/web/prod/WorkZone/Browser/Results.html.twig @@ -96,13 +96,13 @@ {% if Page - 1 > 0 %} -   +   {% endif %} Page {{ Page }} / {{ MaxPage }} {% if Page + 1 <= MaxPage %} -   +   {% endif %} diff --git a/templates/web/prod/actions/publish/publish.html.twig b/templates/web/prod/actions/publish/publish.html.twig index a161199184..db56c040df 100644 --- a/templates/web/prod/actions/publish/publish.html.twig +++ b/templates/web/prod/actions/publish/publish.html.twig @@ -42,10 +42,12 @@
{% endif %} - + + + diff --git a/templates/web/prod/actions/publish/publish_edit.html.twig b/templates/web/prod/actions/publish/publish_edit.html.twig index bcfee39324..090ac9a0d6 100644 --- a/templates/web/prod/actions/publish/publish_edit.html.twig +++ b/templates/web/prod/actions/publish/publish_edit.html.twig @@ -27,10 +27,12 @@

{{ 'Editer' | trans }}


- + - + + + diff --git a/templates/web/prod/results/entry.html.twig b/templates/web/prod/results/entry.html.twig index f0c271425b..3d4609c379 100644 --- a/templates/web/prod/results/entry.html.twig +++ b/templates/web/prod/results/entry.html.twig @@ -50,7 +50,8 @@ {% set feed_name = entry.feed.title %} {% trans with {'%feed_name%' : feed_name} %}dans %feed_name%{% endtrans %} - + + {% endif %}
diff --git a/templates/web/prod/results/feeds_entry.html.twig b/templates/web/prod/results/feeds_entry.html.twig index ba8af43574..c77304b43c 100644 --- a/templates/web/prod/results/feeds_entry.html.twig +++ b/templates/web/prod/results/feeds_entry.html.twig @@ -46,7 +46,7 @@ {% set feed_name = entry.feed.title %} {% trans with {'%feed_name%' : feed_name} %}dans %feed_name%{% endtrans %} - + {% endif %}