diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/common')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig | 8 |
1 files changed, 6 insertions, 2 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 623cf1c4..3828c296 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 | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | article { | 25 | article { |
26 | margin: 0 auto; | 26 | margin: 0 auto; |
27 | width: 600px; | 27 | width: 900px; |
28 | } | 28 | } |
29 | </style> | 29 | </style> |
30 | <meta property="og:title" content="{{ entry.title|e|raw }}" /> | 30 | <meta property="og:title" content="{{ entry.title|e|raw }}" /> |
@@ -45,7 +45,11 @@ | |||
45 | <header> | 45 | <header> |
46 | <h1>{{ entry.title|e|raw }}</h1> | 46 | <h1>{{ entry.title|e|raw }}</h1> |
47 | <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> | 47 | <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> |
48 | <div>{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage')})|raw }}</div> | 48 | <div>{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|raw }}.</div> |
49 | |||
50 | {% if entry.previewPicture is not null %} | ||
51 | <div><img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|striptags|e('html_attr') }}" /></div> | ||
52 | {% endif %} | ||
49 | </header> | 53 | </header> |
50 | <article> | 54 | <article> |
51 | {{ entry.content | raw }} | 55 | {{ entry.content | raw }} |