HTML correction
authorveltr
Fri, 24 May 2013 18:06:24 +0200
changeset 72 8f677c3e5821
parent 71 3907c1f280b8
child 73 0519097d6177
HTML correction
integ/iri/js/iri-creation-cinecard.js
--- a/integ/iri/js/iri-creation-cinecard.js	Wed May 15 12:01:29 2013 +0200
+++ b/integ/iri/js/iri-creation-cinecard.js	Fri May 24 18:06:24 2013 +0200
@@ -92,7 +92,7 @@
 
 var starTemplate = _.template(
     '<li class="cinecard-draggable" draggable="true">'
-        + '<a class="tool-info" target="_blank" href="http://www.allocine.fr/personne/fichepersonne_gen_cpersonne=<%- person.code %>" data-title="<%- person.name %>, <%- activity["$"] %><% if (typeof role !== "undefined") { print(" (" + role + ")"); } %>">'
+        + '<a class="tool-info" target="_blank" href="http://www.allocine.fr/personne/fichepersonne_gen_cpersonne=<%- person.code %>.html" data-title="<%- person.name %>, <%- activity["$"] %><% if (typeof role !== "undefined") { print(" (" + role + ")"); } %>">'
             + '<img src="<% if (typeof picture !== "undefined") { print(resizeAcPicture(picture,232,312)); } else { print(resizeAcPicture("/commons/emptymedia/empty_star.jpg",58, 78)); } %>" alt="Photo de <%- person.name %>" />'
         + '</a>'
     + '</li>'