]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #2237 from wallabag/add-original-url-public-entry
authorNicolas LÅ“uillet <nicolas@loeuillet.org>
Thu, 25 Aug 2016 13:39:15 +0000 (15:39 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Aug 2016 13:39:15 +0000 (15:39 +0200)
Add original link in public view of the article

src/Wallabag/CoreBundle/Resources/views/themes/share.html.twig

index 37ca14f1f5a4b42409f788cf9f85c86b1ed8eb7e..b82b3d3d86c7f75e64fcd264210ca29173c3a81a 100644 (file)
@@ -31,6 +31,7 @@
     <body>
         <header>
             <h1>{{ entry.title | raw }}</h1>
+            <span><a href="{{ entry.url|e }}" target="_blank" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e }}" class="tool">{{ entry.domainName|removeWww }}</a></span>
         </header>
         <article>
             {{ entry.content | raw }}