From a6b5b8f7a9a0bb3cdf437bbf020dcb1faadf00e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 21 Apr 2020 18:08:48 +0200 Subject: Changed visibility for article stats --- .../themes/material/Entry/_reading_time.html.twig | 2 +- .../views/themes/material/Entry/entry.html.twig | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_reading_time.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_reading_time.html.twig index b7167e95..18b2fd3d 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_reading_time.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_reading_time.html.twig @@ -1,5 +1,5 @@ {% set readingTime = entry.readingTime / app.user.config.readingSpeed * 200 %} -timer +timer {% if readingTime > 0 %} {{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': readingTime|round}) }} {% else %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index e23fa0e1..527b1afc 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig @@ -223,46 +223,46 @@ {% block content %}
-

{{ entry.title|striptags|default('entry.default_title'|trans)|raw }}

+

{{ entry.title|striptags|default('entry.default_title'|trans)|raw }} create