Mercurial > public > sg101
comparison gpp/templates/forums/topic.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 | 593fb6dbd449 |
children | daa2916f5b34 |
comparison
equal
deleted
inserted
replaced
284:df2c81f705a8 | 285:8fd4984d5c3b |
---|---|
47 </div> | 47 </div> |
48 {% endif %} | 48 {% endif %} |
49 | 49 |
50 {% if last_page and can_reply %} | 50 {% if last_page and can_reply %} |
51 <a name="forum-reply-form"></a> | 51 <a name="forum-reply-form"></a> |
52 {% show_form "Reply to Topic" form "Submit Reply" 1 MEDIA_URL %} | 52 {% show_form "Reply to Topic" form "Submit Reply" 1 %} |
53 {% endif %} | 53 {% endif %} |
54 | 54 |
55 {% if user.is_authenticated %} | 55 {% if user.is_authenticated %} |
56 <form action={% if is_favorite %}"{% url forums-unfavorite_topic topic.id %}"{% else %}"{% url forums-favorite_topic topic.id %}"{% endif %} method="post">{% csrf_token %} | 56 <form action={% if is_favorite %}"{% url forums-unfavorite_topic topic.id %}"{% else %}"{% url forums-favorite_topic topic.id %}"{% endif %} method="post">{% csrf_token %} |
57 <fieldset> | 57 <fieldset> |