comparison gpp/templates/news/story.html @ 490:f0f3966ea44f

For #233, switched to asynchronous loading of the social media sharing javascript. Also switched to Facebook's javascript SDK instead of using an iframe for the like/share button.
author Brian Neal <bgneal@gmail.com>
date Thu, 20 Oct 2011 00:36:37 +0000
parents bbbc357ac5f3
children bdcce55f137e
comparison
equal deleted inserted replaced
489:f785a646a5fc 490:f0f3966ea44f
14 {% block custom_js %} 14 {% block custom_js %}
15 {% if story.can_comment_on %} 15 {% if story.can_comment_on %}
16 {% script_tags "markitup jquery-ui" %} 16 {% script_tags "markitup jquery-ui" %}
17 <script type="text/javascript" src="{{ STATIC_URL }}js/comments.js"></script> 17 <script type="text/javascript" src="{{ STATIC_URL }}js/comments.js"></script>
18 {% endif %} 18 {% endif %}
19 {% script_tags "social" %}
20 {% endblock %} 19 {% endblock %}
20 {% block begin_body %}{% include 'core/social_sharing_begin.html' %}{% endblock %}
21 {% block news_content %} 21 {% block news_content %}
22 <div class="solid-background"> 22 <div class="solid-background">
23 <h3>{{ story.title }}</h3> 23 <h3>{{ story.title }}</h3>
24 <div class="news-details"> 24 <div class="news-details">
25 Submitted by {{ story.submitter.username }} on {{ story.date_submitted|date:"F d, Y" }}. 25 Submitted by {{ story.submitter.username }} on {{ story.date_submitted|date:"F d, Y" }}.
66 <p>Comments are closed for this story. If you'd like to share your thoughts on this story 66 <p>Comments are closed for this story. If you'd like to share your thoughts on this story
67 with the site staff, you can <a href="{% url 'contact-form' %}">contact us directly</a>.</p> 67 with the site staff, you can <a href="{% url 'contact-form' %}">contact us directly</a>.</p>
68 {% endif %} 68 {% endif %}
69 </div> 69 </div>
70 {% endblock %} 70 {% endblock %}
71 {% block end_body %}{% include 'core/social_sharing_end.html' %}{% endblock %}