Skip to content

Commit

Permalink
TTK-26998: Shown OM stats
Browse files Browse the repository at this point in the history
  • Loading branch information
albacodina committed May 7, 2024
1 parent e1c3f12 commit c1e1069
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Resources/views/Stats/js.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@
"</a>" +
"</td>" +
"<td headers='recording'>" + moment(data.mmobj.recordDate).format('YYYY-MM-DD HH:mm:ss') + "</td>" +
"<td headers='series'>" + data.mmobj.series.i18nTitle[locale] + "</td>" +
"<td headers='series'>" + data.mmobj.seriesTitle + "</td>" +
"<td headers='views'>" + data.num_viewed + "</td>" +
"</tr>"
);
Expand Down Expand Up @@ -438,16 +438,16 @@
"</td>" +
"<td headers='recording'>" + moment(mmobj.recordDate).format('YYYY-MM-DD HH:mm:ss') + "</td>" +
"<td headers='series'>" +
"<a href='" + url.replace('__ID__', mmobj.series.id) + "'>" +
mmobj.series.i18nTitle[locale] +
"<a href='" + url.replace('__ID__', mmobj.series.split('/').pop()) + "'>" +
mmobj.seriesTitle +
"</a>" +
"</td>" +
"<td headers='views' id='"+ id +"'>" + 0 + "</td>" +
"</tr>"
);
window.getInfoMmobj(id, from_date, to_date);
window.showMmobj(mmobj);
$('.title_of_most_viewed').html(mmobj.series.i18nTitle[locale]);
$('.title_of_most_viewed').html(mmobj.seriesTitle);
}
});
};
Expand Down Expand Up @@ -587,8 +587,8 @@
"</td>" +
"<td headers='recording'>" + moment(data.mmobj.recordDate).format('YYYY-MM-DD HH:mm:ss') + "</td>" +
"<td headers='series'>" +
"<a href='" + url.replace('__ID__', data.mmobj.series.id) + "'>" +
data.mmobj.series.i18nTitle[locale] +
"<a href='" + url.replace('__ID__', data.mmobj.series.split('/').pop()) + "'>" +
data.mmobj.seriesTitle +
"</a>" +
"</td>" +
"<td headers='views'>" + data.num_viewed + "</td>" +
Expand Down

0 comments on commit c1e1069

Please sign in to comment.