Saving minor changes
authorveltr
Wed, 25 Jan 2012 14:40:10 +0100
changeset 448 1f739f32bffb
parent 445 ba508b671698
child 449 57db78aa084f
Saving minor changes
src/ldt/ldt/ldt_utils/templates/front/front_search_results.html
--- a/src/ldt/ldt/ldt_utils/templates/front/front_search_results.html	Wed Jan 25 14:25:53 2012 +0100
+++ b/src/ldt/ldt/ldt_utils/templates/front/front_search_results.html	Wed Jan 25 14:40:10 2012 +0100
@@ -28,6 +28,8 @@
                     "id" : '{{segment.element_id}}',
                     "begin" : {{segment.begin}},
                     "duration" : {{segment.duration}},
+                    "cutting_id" : '{{segment.cutting_id}}',
+                    "project_id" : '{{segment.project_id}}',
                 },{% endfor %}
             ],
             "stats" : [{{ res.content.stat_annotation }}],
@@ -93,7 +95,8 @@
                         </div>
                         <h4 class="title_segment"><a class="blue under" href="{% url ldt.ldt_utils.views.front.annot_content segment.iri_id segment.project_id segment.decoupage_id %}#id={{segment.element_id}}" title="{% trans 'view this annotation in the player' %}">
                           {% if segment.title %}{{ segment.title }}{% else %}{% trans "No title" %}{% endif %}</a></h4>
-                        <p class="text_segment">{% if segment.context %}{{ segment.context }}{% endif %}<br/>{% trans "Begin" %} : {{ segment.begin|str_duration:"::" }} - {% trans "duration" %} : {{ segment.duration|str_duration:"::" }}</h4>
+                        <p class="text_segment">{% if segment.context %}{{ segment.context }}{% endif %}<br/>{% trans "Begin" %} : {{ segment.begin|str_duration:"::" }} - {% trans "duration" %} : {{ segment.duration|str_duration:"::" }}</p>
+                        <p>{{ segment.abstract }}</p>
                     </li>
                 {% endfor %}
                 </ul>