X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=bf38bff8245e839d53c6cbb71fdd229e58836501;hb=3bcc4d4cb29abeedb48b1f297f1a65a02998ff69;hp=dcdf7c09117fec309c100866b101544c02034ae3;hpb=d4ebe5c5dcf581416ab76136908cafbde78f63bf;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 dcdf7c09..bf38bff8 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) }}…

@@ -76,7 +76,7 @@ {% endif %}
- {{ entry.domainName | truncate(18) }} + {{ entry.domainName|removeWww|truncate(18) }} + +
+ {% set currentRoute = app.request.attributes.get('_route') %} + {% if currentRoute == 'homepage' %} + {% set currentRoute = 'unread' %} + {% endif %} +

{% trans %}Export{% endtrans %}

+ +
+
-

{% trans %}Filters{% endtrans %}

+

{% trans %}Filters{% endtrans %}