X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2FEntry%2Fentry.html.twig;h=f58d0399bbe3a70a63e395e9f5c9f8f51635b3c4;hb=451bad02f05cb2d9c303fdbd62becccbdbefc746;hp=edb15d557184f613753c8172963e992607cbb02c;hpb=8394ab46191f717dc9c32fecfa6809f958951dca;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig index edb15d55..f58d0399 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig @@ -1,18 +1,14 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{{ entry.title|raw }} ({{ entry.url | e | domainName }}){% endblock %} - -{% block menu %} - {% include "WallabagCoreBundle::_menu.html.twig" %} -{% endblock %} +{% block title %}{{ entry.title|raw }} ({{ entry.domainName }}){% endblock %} {% block content %}
-

{{ entry.title|raw }}

+

{{ entry.title|raw }} ✎

+ {% if entry.previewPicture is not null %} +
{{ entry.title|raw }}
+ {% endif %}
{{ entry.content | raw }}
@@ -91,13 +91,13 @@ var docHeight = $(document).height(); var scrollPercent = (scrollTop) / (docHeight); var scrollPercentRounded = Math.round(scrollPercent*100)/100; - savePercent({{ entry.id|e }}, scrollPercentRounded); + savePercent({{ entry.id }}, scrollPercentRounded); }); - retrievePercent({{ entry.id|e }}); + retrievePercent({{ entry.id }}); $(window).resize(function(){ - retrievePercent({{ entry.id|e }}); + retrievePercent({{ entry.id }}); }); });