# HG changeset patch # User verrierj # Date 1326470750 -3600 # Node ID 64a1875324176c132bc9caf6940bb84a05c19436 # Parent 0e410517b3113f873b711392e020bcc80bfee59a# Parent af6e9560593426f5920944d682cdf57ca07fa4c9 Merge with af6e9560593426f5920944d682cdf57ca07fa4c9 diff -r 0e410517b311 -r 64a187532417 .project --- a/.project Fri Jan 13 16:57:01 2012 +0100 +++ b/.project Fri Jan 13 17:05:50 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 0e410517b311 -r 64a187532417 src/ldt/ldt/ldt_utils/projectserializer.py --- a/src/ldt/ldt/ldt_utils/projectserializer.py Fri Jan 13 16:57:01 2012 +0100 +++ b/src/ldt/ldt/ldt_utils/projectserializer.py Fri Jan 13 17:05:50 2012 +0100 @@ -351,6 +351,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 0e410517b311 -r 64a187532417 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:57:01 2012 +0100 +++ b/src/ldt/ldt/ldt_utils/templates/front/front_all_contents.html Fri Jan 13 17:05:50 2012 +0100 @@ -5,11 +5,61 @@ {% block title %}Lignes de temps : groupe "{{group.name}}"{% endblock %} +{% block js_import %} +{{block.super}} + + +{% endblock %} + {% block css_import %} {{block.super}} {% endblock %} +{% block js_declaration %} +{{block.super}} + + +{% endblock %} + {% block body %} {{block.super}} @@ -19,7 +69,8 @@ {% for content in content_list %}
  • - {% thumbnail content.image "294x165" format="PNG" crop="center" as im %}{% endthumbnail %} + {% thumbnail content.image "294x165" format="PNG" crop="center" as im %}{% endthumbnail %} +
    {{ 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 0e410517b311 -r 64a187532417 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:57:01 2012 +0100 +++ b/src/ldt/ldt/ldt_utils/templates/front/front_search_results.html Fri Jan 13 17:05:50 2012 +0100 @@ -8,7 +8,7 @@ {% block js_import %} {{block.super}} - + {% endblock %} {% block css_import %} @@ -19,36 +19,76 @@ {% block body %} {{block.super}} @@ -99,13 +139,13 @@