Subversion Repository Public Repository

Nextrek

Diff Revisions 1051 vs 1052 for /Web/Smartcharging_search/js/template.js

Diff revisions: vs.
  @@ -50,7 +50,7 @@
50 50 html += '<img class="user-avatar-default" src="images/default-user.png" />';
51 51 }
52 52 html += '<div id="rating">'+ rating(comment.voto) + '</div>' +
53 - '<div><p style="margin: 0.2em 0 0 0;">Da <b>' + comment.username + '</b> il</p></div>' +
53 + '<div><p style="margin: 0.2em 0 0 0;">' + getText("Da", document.documentElement.lang) + ' <b>' + comment.username + '</b></p></div>' +
54 54 '<div class="date-comment">' + formatDate(comment.data) + '</div>' +
55 55 '<div class="text-comment"><p style="margin: 0; padding: 1em 0 0 0;">' + comment.descrizione + '</p></div>' +
56 56 '</div>' +
  @@ -60,7 +60,7 @@
60 60
61 61 getNoComments: function(){
62 62 return '<div class="nocomment">' +
63 - '<p align="center">Nessun commento per questo locale</p>'
63 + '<p align="center">'+ getText("Nessun commento per questo locale", document.documentElement.lang) +'</p>'
64 64 '</div>';
65 65 }
66 66 };