# HG changeset patch # User veltr # Date 1327671430 -3600 # Node ID 4e8c6e580e78179f27cd14d17b0fccf0dab24d5f # Parent d4e12537dc1aaa8c1e947104ed0d5f9f635f2bae Minor corrections for FF3.6 diff -r d4e12537dc1a -r 4e8c6e580e78 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 27 11:55:14 2012 +0100 +++ b/src/ldt/ldt/ldt_utils/templates/front/front_all_contents.html Fri Jan 27 14:37:10 2012 +0100 @@ -28,8 +28,10 @@ {% for content in content_list %}
  • - - {% thumbnail content.image "294x165" format="PNG" crop="center" as im %}{% trans 'open this media' %}{% endthumbnail %} +
    + + {% thumbnail content.image "294x165" format="PNG" crop="center" as im %}{% trans 'open this media' %}{% endthumbnail %} +
    • 0%
    • @@ -39,7 +41,7 @@
    {{ 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 d4e12537dc1a -r 4e8c6e580e78 src/ldt/ldt/ldt_utils/templates/front/front_home.html --- a/src/ldt/ldt/ldt_utils/templates/front/front_home.html Fri Jan 27 11:55:14 2012 +0100 +++ b/src/ldt/ldt/ldt_utils/templates/front/front_home.html Fri Jan 27 14:37:10 2012 +0100 @@ -33,7 +33,10 @@
  • {% for content in last_contents %}
  • - {% thumbnail content.image "294x165" format="PNG" crop="center" as im %}{% trans 'open this media' %}{% endthumbnail %} +
    + + {% thumbnail content.image "294x165" format="PNG" crop="center" as im %}{% trans 'open this media' %}{% endthumbnail %} +
    • 0%
    • @@ -43,7 +46,7 @@
    {{ content.stat_annotation }}
    - +
    {{ content.nb_annotation }}

    {{content.title}}

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

    @@ -63,8 +66,9 @@
  • {% for content in most_contents %}
  • - - {% thumbnail content.image "134x75" format="PNG" crop="center" as im %}{% trans 'open this media' %}{% endthumbnail %} +
    + + {% thumbnail content.image "134x75" format="PNG" crop="center" as im %}{% trans 'open this media' %}{% endthumbnail %}
    • 0%
    • @@ -73,7 +77,7 @@
    • 0%
    - +
    {{ content.nb_annotation }}

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

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