# HG changeset patch # User hamidouk # Date 1326468256 -3600 # Node ID af6e9560593426f5920944d682cdf57ca07fa4c9 # Parent ae8ab8763cfd787553731d12a0269bf8bca8ac4e# Parent a1f9f75839257d01da6968900a98dc62e409a667 Merge with latest upstream diff -r ae8ab8763cfd -r af6e95605934 .project --- a/.project Fri Jan 13 16:21:50 2012 +0100 +++ b/.project Fri Jan 13 16:24:16 2012 +0100 @@ -6,13 +6,12 @@ - org.python.pydev.PyDevBuilder + com.aptana.ide.core.unifiedBuilder - org.python.pydev.pythonNature - org.python.pydev.django.djangoNature + com.aptana.projects.webnature diff -r ae8ab8763cfd -r af6e95605934 src/ldt/ldt/ldt_utils/projectserializer.py --- a/src/ldt/ldt/ldt_utils/projectserializer.py Fri Jan 13 16:21:50 2012 +0100 +++ b/src/ldt/ldt/ldt_utils/projectserializer.py Fri Jan 13 16:24:16 2012 +0100 @@ -352,6 +352,8 @@ elif content.videopath: href = content.videopath.rstrip('/') + "/" + content.src meta_item_value = content.videopath.rstrip('/') + "/" + else: + href = content.src new_media = { "http://advene.liris.cnrs.fr/ns/frame_of_reference/ms" : "o=0", diff -r ae8ab8763cfd -r af6e95605934 src/ldt/ldt/ldt_utils/templates/front/front_all_contents.html --- a/src/ldt/ldt/ldt_utils/templates/front/front_all_contents.html Fri Jan 13 16:21:50 2012 +0100 +++ b/src/ldt/ldt/ldt_utils/templates/front/front_all_contents.html Fri Jan 13 16:24:16 2012 +0100 @@ -8,7 +8,7 @@ {% block js_import %} {{block.super}} - + {% endblock %} {% block css_import %} @@ -19,18 +19,42 @@ {% block js_declaration %} {{block.super}} @@ -46,7 +70,7 @@ {% for content in content_list %}
  • {% thumbnail content.image "294x165" format="PNG" crop="center" as im %}{% endthumbnail %} - {{ content.stat_annotation }} +
    {{ content.nb_annotation }}

    {% if content.title|length > 69 %}{{content.title|slice:":69"}}...{% else %}{{content.title}}{% endif %}

    {% trans 'by' %} IRI | {{content.duration|str_duration:"h"}}

    diff -r ae8ab8763cfd -r af6e95605934 src/ldt/ldt/ldt_utils/templates/front/front_search_results.html --- a/src/ldt/ldt/ldt_utils/templates/front/front_search_results.html Fri Jan 13 16:21:50 2012 +0100 +++ b/src/ldt/ldt/ldt_utils/templates/front/front_search_results.html Fri Jan 13 16:24:16 2012 +0100 @@ -19,6 +19,8 @@ {% block body %} {{block.super}}