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

ISTWCMS-4124: adding view on source to Facebook

parent c3b1292c
No related branches found
No related tags found
No related merge requests found
......@@ -3063,6 +3063,9 @@ details.details {
max-width: 500px;
text-align: center;
width: 100%; }
.uw-facebook__view-on-source {
padding: 1rem 0;
text-align: center; }
.uw-facebook .fb-post,
.uw-facebook .fb-page {
......
......@@ -10,6 +10,11 @@
text-align: center;
width: 100%;
}
&__view-on-source {
padding: 1rem 0;
text-align: center;
}
}
.uw-facebook {
......
......@@ -7,12 +7,21 @@
data-width="500"
data-hide-cover="false"
data-show-facepile="false"
adapt_container_width="true"></div>
adapt_container_width="true">
</div>
{% else %}
<div class="fb-post"
data-href="{{ url }}"
data-width="500"></div>
data-width="500">
</div>
{% endif %}
<script src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2"></script>
</div>
<div class="uw-facebook__view-on-source">
{% if feed_type == 'timeline' %}
View on <a href="https://facebook.com/{{ username }}">Facebook</a>
{% else %}
View on <a href="{{ url }}">Facebook</a>
{% endif %}
</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