comparison gpp/templates/forums/display_post.html @ 285:8fd4984d5c3b

This is a first rough commit for #95, adding the ability to embed YouTube videos in forum posts. Some more polish and testing needs to happen at this point. I wanted to get all these changes off my hard drive and into the repository.
author Brian Neal <bgneal@gmail.com>
date Thu, 14 Oct 2010 02:39:35 +0000
parents fe900598f81c
children daa2916f5b34
comparison
equal deleted inserted replaced
284:df2c81f705a8 285:8fd4984d5c3b
36 {% endif %} 36 {% endif %}
37 {% if post.has_been_edited %} 37 {% if post.has_been_edited %}
38 <p class="small quiet">Last edited: {{ post.update_date|date:"M d, Y H:i:s" }}</p> 38 <p class="small quiet">Last edited: {{ post.update_date|date:"M d, Y H:i:s" }}</p>
39 {% endif %} 39 {% endif %}
40 </div> 40 </div>
41 {% if post.attach_list %}
42 <div>
43 {% for item in post.attach_list %}
44 <div class="forum-attachment">{{ item.html|safe }}</div>
45 {% endfor %}
46 </div>
47 {% endif %}
41 <div class="forum-post-info-tools"> 48 <div class="forum-post-info-tools">
42 {% if can_reply %} 49 {% if can_reply %}
43 <a href="{% url forums-new_post topic_id=post.topic.id %}?quote={{ post.id }}"><img src="{{ MEDIA_URL }}icons/comment.png" alt="Reply with quote" title="Reply with quote" /></a> 50 <a href="{% url forums-new_post topic_id=post.topic.id %}?quote={{ post.id }}"><img src="{{ MEDIA_URL }}icons/comment.png" alt="Reply with quote" title="Reply with quote" /></a>
44 {% endif %} 51 {% endif %}
45 {% post_edit_button post user can_moderate MEDIA_URL %} 52 {% post_edit_button post user can_moderate MEDIA_URL %}