mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
GUI: fix f9aa3c4d7b
tmdbid links movie or tv
This commit is contained in:
@@ -977,6 +977,7 @@ function updateReleasesRow(row) {
|
||||
var Description = $(row).data("description");
|
||||
var DownloadVolumeFactor = parseFloat($(row).find("td.DownloadVolumeFactor").html());
|
||||
var UploadVolumeFactor = parseFloat($(row).find("td.UploadVolumeFactor").html());
|
||||
var Cat = $(row).find("td.Cat").html();
|
||||
|
||||
var TitleTooltip = "";
|
||||
if (Poster)
|
||||
@@ -1001,7 +1002,8 @@ function updateReleasesRow(row) {
|
||||
}
|
||||
|
||||
if (TMDBId && TMDBId > 0) {
|
||||
labels.append('\n<a href="https://www.themoviedb.org/movie/' + TMDBId + '" target="_blank" class="label label-tmdb" alt="TMDB" title="TMDB">TMDB</a>');
|
||||
var TMdbType = (Cat.includes("Movies")) ? "movie" : "tv";
|
||||
labels.append('\n<a href="https://www.themoviedb.org/' + TMdbType + '/' + TMDBId + '" target="_blank" class="label label-tmdb" alt="TMDB" title="TMDB">TMDB</a>');
|
||||
}
|
||||
|
||||
if (TVDBId && TVDBId > 0) {
|
||||
|
@@ -468,7 +468,7 @@
|
||||
<td class="fit">{{Size}}</td>
|
||||
<td class="fit">{{jacketSize Size}}</td>
|
||||
<td class="fit">{{Files}}</td>
|
||||
<td class="fit">{{CategoryDesc}}</td>
|
||||
<td class="fit Cat">{{CategoryDesc}}</td>
|
||||
<td class="fit">{{Grabs}}</td>
|
||||
<td class="fit">{{Seeders}}</td>
|
||||
<td class="fit">{{Peers}}</td>
|
||||
@@ -594,7 +594,7 @@
|
||||
<td>{{Size}}</td>
|
||||
<td class="fit">{{jacketSize Size}}</td>
|
||||
<td>{{Files}}</td>
|
||||
<td>{{CategoryDesc}}</td>
|
||||
<td class="Cat">{{CategoryDesc}}</td>
|
||||
<td>{{Grabs}}</td>
|
||||
<td>{{Seeders}}</td>
|
||||
<td>{{Peers}}</td>
|
||||
@@ -754,6 +754,6 @@
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="../libs/api.js?changed=2017083001"></script>
|
||||
<script type="text/javascript" src="../custom.js?changed=202204251"></script>
|
||||
<script type="text/javascript" src="../custom.js?changed=20220426"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user