aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-12-04 10:11:32 +0100
committerGitHub <noreply@github.com>2017-12-04 10:11:32 +0100
commitb9be1cf1ee771a34cbf496cc3b0290a01dbbe1c6 (patch)
tree57aeb3c45176cc66763c1d9a41b658db4ec23e22 /src/Wallabag
parent1d91f14516e109978f497e9f55d2f87c8268e1d7 (diff)
parent2784f674ead8817f374f26c1a044d20c946f5228 (diff)
downloadwallabag-b9be1cf1ee771a34cbf496cc3b0290a01dbbe1c6.tar.gz
wallabag-b9be1cf1ee771a34cbf496cc3b0290a01dbbe1c6.tar.zst
wallabag-b9be1cf1ee771a34cbf496cc3b0290a01dbbe1c6.zip
Merge pull request #3449 from Simounet/feature/share-page
Share page improved (mobile + header's padding)
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig
index 955420ba..9b0503d6 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig
@@ -1,6 +1,9 @@
1<!DOCTYPE html>
1<html> 2<html>
2 <head> 3 <head>
4 <meta charset="utf-8">
3 <title>{{ entry.title|e|raw }}</title> 5 <title>{{ entry.title|e|raw }}</title>
6 <meta name="viewport" content="initial-scale=1.0">
4 <meta property="og:title" content="{{ entry.title|e|raw }}" /> 7 <meta property="og:title" content="{{ entry.title|e|raw }}" />
5 <meta property="og:type" content="article" /> 8 <meta property="og:type" content="article" />
6 <meta property="og:url" content="{{ app.request.uri }}" /> 9 <meta property="og:url" content="{{ app.request.uri }}" />
@@ -22,16 +25,15 @@
22 25
23 </head> 26 </head>
24 <body> 27 <body>
25 <header> 28 <header class="block">
26 <h1>{{ entry.title|e|raw }}</h1> 29 <h1>{{ entry.title|e|raw }}</h1>
27 <div><a href="{{ entry.url|e }}" target="_blank" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e|raw }}" class="tool">{{ entry.domainName|removeWww }}</a></div> 30 <a href="{{ entry.url|e }}" target="_blank" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e|raw }}" class="tool">{{ entry.domainName|removeWww }}</a>
28 <div>{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|raw }}.</div> 31 <p class="shared-by">{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|raw }}.</p>
29
30 {% if entry.previewPicture is not null %} 32 {% if entry.previewPicture is not null %}
31 <div><img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|striptags|e('html_attr') }}" /></div> 33 <img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|striptags|e('html_attr') }}" />
32 {% endif %} 34 {% endif %}
33 </header> 35 </header>
34 <article> 36 <article class="block">
35 {{ entry.content | raw }} 37 {{ entry.content | raw }}
36 </article> 38 </article>
37 </body> 39 </body>