Commits

Anonymous committed 0da4d84 Draft Merge

merge

Comments (0)

Files changed (1)

common_recs/index.html

   $("<h3>").append(
     $("<a>").
        attr('href', 'http://filmaster.pl/film/'+film.permalink).
+       attr('target', '_blank').
        text(film.title_localized)
   ).appendTo(item);
   $("<p style='float:left' class='rating'>").text(Math.floor(film.guess_rating*10)/10).
     $('#users').empty();
     $('#results').empty();
     add_user(data);
-    $('#users').append($('<li>').html('<i>and friends he/she follows:</i>'));
+    $('#users').append($('<li>').html('<i>and friends ' + (data.gender=='F' ? 'she' : 'he') +' follows:</i>'));
     $('#results').append($('<li>').html('<i>mark users to see their common movie recommendations...</i>'));
     fetch_collection('/1.1/user/' + username + '/following/?include=user', function(data) {
       $(data).each(function() {