X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentry.html.twig;h=5809c8d4090812e25fadb9af5a868bc0537a4770;hb=b2439a8e4e99969df19390f82ee18a323c4aafeb;hp=3d20a6bc92418ea3c5e905c3d0f02a5796537375;hpb=fa0f5ee12bc71e1ec7d8fae9032c6dd0ff13dd55;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 3d20a6bc..5809c8d4 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 %}
@@ -70,7 +70,15 @@
{% endif %}
-
comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}
+
comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}
+
+ {% if entry.originUrl is not empty %}
+
launch
+
+ {{ entry.originUrl|striptags|removeSchemeAndWww|truncate(32) }}
+
+ {% endif %}
+
- {% if entry.previewPicture is not null %}
-