Skip to content
Snippets Groups Projects
Commit 5167263a authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4124: updating view on source for Twitter

parent f7dffcfe
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,9 @@
{% if feed_type == 'embed-tweet' %}
<blockquote class="twitter-tweet" data-dnt="true"><a href="https://twitter.com/{{ tweet_code }}">Read individual Tweet on Twitter</a></blockquote>
<div class="uw-twitter__view-on-source">
View on <a href="https://twitter.com/{{ tweet_code }}">Twitter</a>
</div>
{% else %}
<div
class="twitter"
......@@ -31,13 +34,12 @@
data-username="{{ username }}">
<a class="twitter-{{ (feed_type == 'moment') ? 'moment' : 'timeline' }}" href="{{ twitter_href }}" data-theme="light" data-link-color="#light" data-height="650" data-dnt="true">{{ twitter_link }}</a>
</div>
<div class="uw-twitter__view-on-source">
View on <a href="{{ twitter_href }}">Twitter</a>
</div>
{% endif %}
<script src="https://platform.twitter.com/widgets.js"></script>
<div class="uw-twitter__view-on-source">
View on <a href="{{ twitter.href }}">Twitter</a>
</div>
</div>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment