fix url tags for embed_iframe in templates
authordurandn
Thu, 16 Apr 2015 16:16:08 +0200
changeset 191 7eef5c1eee8c
parent 190 06d0383a929f
child 192 c386c113ffb7
fix url tags for embed_iframe in templates
src/metadatacomposer/templates/metadatacomposer_home.html
src/metadatacomposer/templates/partial/resource_content_list.html
--- a/src/metadatacomposer/templates/metadatacomposer_home.html	Fri Jan 30 15:15:12 2015 +0100
+++ b/src/metadatacomposer/templates/metadatacomposer_home.html	Thu Apr 16 16:16:08 2015 +0200
@@ -106,7 +106,7 @@
                 <div class="row">
                   {% for c in contents %}
                     <div class="span2">
-                        <a href="{% url 'embediframe_page' %}?content_id={{ c.iri_id }}" data-type-media="video" data-title="{{ c.title }}" class="open-modal" data-hide-add-new data-iframe>
+                        <a href="{% url 'embed_iframe_v2' %}?content_id={{ c.iri_id }}" data-type-media="video" data-title="{{ c.title }}" class="open-modal" data-hide-add-new data-iframe>
                             {% thumbnail c.image "140x140" crop="center" format="PNG" as im %}<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" />{% empty %}<img src="{% static 'metadatacomposer/img/140x140.gif' %}" width="140px" height="140px" />{% endthumbnail %}
                         <h4>{{ c.title }}</h4></a>
                     </div>
--- a/src/metadatacomposer/templates/partial/resource_content_list.html	Fri Jan 30 15:15:12 2015 +0100
+++ b/src/metadatacomposer/templates/partial/resource_content_list.html	Thu Apr 16 16:16:08 2015 +0200
@@ -16,7 +16,7 @@
                                   {% for res in content_results %}
                                     <tr id="row-list-ressources-video-id{{ forloop.counter }}">
                                         <td>
-                                            <a href="{% url 'embediframe_page' %}?content_id={{ res.content.iri_id }}" data-type-media="video" data-title="{{ res.content.title }}" class="open-modal" data-hide-add-new data-iframe>
+                                            <a href="{% url 'embed_iframe_v2' %}?content_id={{ res.content.iri_id }}" data-type-media="video" data-title="{{ res.content.title }}" class="open-modal" data-hide-add-new data-iframe>
                                             {% thumbnail res.content.image "60x60" crop="center" format="PNG" as im %}<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" />{% empty %}<img src="{% static 'metadatacomposer/img/60x60.gif' %}" width="60px" height="60px" />{% endthumbnail %}</a>
                                         </td>
                                         <td>{{ res.content.title }}</td>