X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=6de800b94fb57d94b4aabf3148f9b1f111c49aae;hb=63e40f2d7c4074aff0be587c828eb511a6b7c878;hp=ff69e8213620790402b57b8f35db156a27450b24;hpb=d2755b1c30318f370e7e903ebbd9d34bca11d939;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index ff69e821..6de800b9 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig @@ -4,13 +4,13 @@ {% set currentRoute = app.request.attributes.get('_route') %} {% if currentRoute == 'starred' %} - {% trans %}Starred{% endtrans %} + {% trans %}starred{% endtrans %} {% elseif currentRoute == 'archive' %} - {% trans %}Archive{% endtrans %} + {% trans %}archive{% endtrans %} {% elseif currentRoute == 'all' %} {% trans %}Filtered{% endtrans %} {% else %} - {% trans %}Unread{% endtrans %} + {% trans %}unread{% endtrans %} {% endif %} {% endblock %} @@ -49,9 +49,9 @@ {{ entry.title|raw|striptags|slice(0, 42) }} {% if entry.readingTime > 0 %} -
{% trans %}estimated reading time: {% endtrans %} {{ entry.readingTime }} min
+
{% trans %}estimated reading time{% endtrans %}: {{ entry.readingTime }} min
{% else %} -
{% trans %}estimated reading time: {% endtrans %} < 1 min
+
{% trans %}estimated reading time{% endtrans %}: < 1 min
{% endif %} {% if entry.previewPicture is null %} @@ -66,9 +66,9 @@ {{ entry.title|raw }} {% if entry.readingTime > 0 %} -
{% trans %}estimated reading time: {% endtrans %} {{ entry.readingTime }} min
+
{% trans %}estimated reading time{% endtrans %}: {{ entry.readingTime }} min
{% else %} -
{% trans %}estimated reading time: {% endtrans %} < 1 min
+
{% trans %}estimated reading time{% endtrans %}: < 1 min
{% endif %}

{{ entry.content|striptags|slice(0, 300) }}…

@@ -91,11 +91,29 @@ {% endfor %} + +
+ {% set currentRoute = app.request.attributes.get('_route') %} + {% if currentRoute == 'homepage' %} + {% set currentRoute = 'unread' %} + {% endif %} +

{% trans %}Export{% endtrans %}

+ +
+
-

{% trans %}Filters{% endtrans %}

+

{% trans %}Filters{% endtrans %}