aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-04-28 16:44:36 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-04-28 16:44:36 +0100
commit6e739457cb294f7c99ce0a5b1132292c8fc352ac (patch)
tree1e5520c7543f26b87c653be164d19769694b836b
parenta085b63ce09f87e83b75cda9b9cd08aadfe75d61 (diff)
[fixmystreet.com] Include URL in Twitter share link.
-rw-r--r--templates/web/base/report/display_tools.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/report/display_tools.html b/templates/web/base/report/display_tools.html
index fb337df59..c477fd8dd 100644
--- a/templates/web/base/report/display_tools.html
+++ b/templates/web/base/report/display_tools.html
@@ -25,7 +25,7 @@
[% IF c.cobrand.moniker == 'fixmystreet' %]
<div id="report-share" class="hidden-js" align="center">
- <a class="btn btn--social btn--twitter" href="https://twitter.com/intent/tweet?text=I%20just%20viewed%20this%20report:%20&lsquo;[% problem.title_safe | uri %]&rsquo;&amp;via=fixmystreet&amp;related=mySociety">
+ <a class="btn btn--social btn--twitter" href="https://twitter.com/intent/tweet?text=I%20just%20viewed%20this%20report:%20&lsquo;[% problem.title_safe | uri %]&rsquo;&amp;url=[% c.cobrand.base_url | uri %][% c.req.uri.path | uri %]&amp;via=fixmystreet&amp;related=mySociety">
<img alt="" src="/i/twitter-icon-32.png" width="17" height="32">
Tweet
</a>