Skip to content
Snippets Groups Projects
Commit 176d7f16 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

make entire 'view on' line be link, to match Youtube and for a11y.

parent 365bf66d
No related branches found
No related tags found
1 merge request!30make entire 'view on' line be link, to match Youtube and for a11y.
...@@ -19,9 +19,9 @@ ...@@ -19,9 +19,9 @@
</div> </div>
<div class="uw-facebook__view-on-source"> <div class="uw-facebook__view-on-source">
{% if feed_type == 'timeline' %} {% if feed_type == 'timeline' %}
View on <a href="https://facebook.com/{{ username }}">Facebook</a> <a href="https://facebook.com/{{ username }}">View on Facebook</a>
{% else %} {% else %}
View on <a href="{{ url }}">Facebook</a> <a href="{{ url }}">View on Facebook</a>
{% endif %} {% endif %}
</div> </div>
</div> </div>
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
<script async src="//www.instagram.com/embed.js"></script> <script async src="//www.instagram.com/embed.js"></script>
</div> </div>
<div class="uw-instagram__view-on-source"> <div class="uw-instagram__view-on-source">
View on <a href="{{ instagram.url }}">Instagram</a> <a href="{{ instagram.url }}">View on Instagram</a>
</div> </div>
</div> </div>
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
{% if feed_type == 'embed-tweet' %} {% 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> <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"> <div class="uw-twitter__view-on-source">
View on <a href="https://twitter.com/{{ tweet_code }}">Twitter</a> <a href="https://twitter.com/{{ tweet_code }}">View on Twitter</a>
</div> </div>
{% else %} {% else %}
<div <div
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<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> <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>
<div class="uw-twitter__view-on-source"> <div class="uw-twitter__view-on-source">
View on <a href="{{ twitter_href }}">Twitter</a> <a href="{{ twitter_href }}">View on Twitter</a>
</div> </div>
{% endif %} {% endif %}
......
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