X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentry.html.twig;h=e7d42b3dc58e53913ab04fdae7fdbe2731616d67;hb=8896f0f988350620132ee8d4267bb66f7fba4663;hp=426ce91c3b31023abe8900ad5ad32b72315a6de7;hpb=64f1d8f77a75332b731124c5ebab4bed7a512081;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 426ce91c..e7d42b3d 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 }} ✎

@@ -71,20 +71,31 @@ 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 %} -
{{ entry.title|e|raw }}
- {% endif %}
{{ entry.content | raw }}