comparison gpp/templates/news/story.html @ 12:f408971657b9

Changed the shoutbox: posts are now made by Ajax. The smiley farm is loaded only on demand. jQuery is now in the base template. May add scrolling later.
author Brian Neal <bgneal@gmail.com>
date Wed, 15 Apr 2009 01:13:17 +0000
parents b6263ac72052
children c284c0e5c5db
comparison
equal deleted inserted replaced
11:cc8eb028def1 12:f408971657b9
6 {% block news_css %} 6 {% block news_css %}
7 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/comments.css" /> 7 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/comments.css" />
8 {% endblock %} 8 {% endblock %}
9 {% block custom_js %} 9 {% block custom_js %}
10 {% if story.can_comment_on %} 10 {% if story.can_comment_on %}
11 {% script_tags "jquery" %}
12 {% script_tags "markitup" %} 11 {% script_tags "markitup" %}
13 <script type="text/javascript" src="{{ MEDIA_URL }}js/comments.js"></script> 12 <script type="text/javascript" src="{{ MEDIA_URL }}js/comments.js"></script>
14 {% endif %} 13 {% endif %}
15 {% endblock %} 14 {% endblock %}
16 {% block news_content %} 15 {% block news_content %}