X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentry.html.twig;h=7616cf4ceedea2a72cb7719262260febc506cfa8;hb=8ecab22d32117cbf6a9e56a048ff65a83307205f;hp=f7c89abf917684cc50bdbcb1d55acf2f89afc2d9;hpb=6de4cd35b5b979c37cf1bca5e5b3dae6a5b0170e;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig index f7c89abf..7616cf4c 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig @@ -1,17 +1,17 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{{ entry.title|e|raw }} ({{ entry.domainName|removeWww }}){% endblock %} +{% block title %}{{ entry.title|e|default('entry.default_title'|trans)|raw }} ({{ entry.domainName|removeWww }}){% endblock %} {% block content %}
-

{{ entry.title|e|raw }} ✎

+

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

@@ -62,7 +62,7 @@ {% endif %} - {% set readingTime = entry.readingTime / app.user.config.readingSpeed %} + {% set readingTime = entry.readingTime / app.user.config.readingSpeed * 200 %} {% if readingTime > 0 %} {{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': readingTime|round}) }} {% else %} @@ -73,8 +73,8 @@ comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }} {% if entry.originUrl is not empty %} - launch - + launch + {{ entry.originUrl|striptags|removeSchemeAndWww|truncate(32) }} {% endif %} @@ -96,9 +96,6 @@
- {% if entry.previewPicture is not null %} -
{{ entry.title|e|raw }}
- {% endif %}
{{ entry.content | raw }}