X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentry.html.twig;h=f18e32ca4a23c0b94b4f0399bf54cf58c5cd4c5d;hb=c04bde29a36e4a60c596808d0ac45dc23476db44;hp=725295c33f2e0dd372a32813d22d924f8f3af379;hpb=3377c938f8e5bd6af2cd4430494f39a517a7e910;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 725295c3..f18e32ca 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,60 +1,103 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{{ entry.title|raw }} ({{ entry.domainName|removeWww }}){% endblock %} +{% block title %}{{ entry.title|e|raw|default('entry.default_title'|trans) }} ({{ entry.domainName|removeWww }}){% endblock %} {% block content %}
-

{{ entry.title|raw }} ✎

+

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

- - {% if entry.previewPicture is not null %} -
{{ entry.title|raw }}
+
{{ entry.title|e|raw }}
{% endif %}
{{ entry.content | raw }} @@ -73,22 +116,4 @@ "entryId": "{{ entry.id }}" } - - {% endblock %}