mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
#125 start indicating in the results if an item is already requested or available
This commit is contained in:
parent
d1c6a13226
commit
c6e6583fd5
8 changed files with 384 additions and 103 deletions
|
@ -274,7 +274,10 @@ $(function () {
|
|||
voteAverage: result.voteAverage,
|
||||
year: year,
|
||||
type: "movie",
|
||||
imdb: result.imdbId
|
||||
imdb: result.imdbId,
|
||||
requested: result.requested,
|
||||
approved: result.approved,
|
||||
available: result.available
|
||||
};
|
||||
|
||||
return context;
|
||||
|
@ -290,7 +293,10 @@ $(function () {
|
|||
overview: result.overview,
|
||||
year: year,
|
||||
type: "tv",
|
||||
imdb: result.imdbId
|
||||
imdb: result.imdbId,
|
||||
requested: result.requested,
|
||||
approved: result.approved,
|
||||
available: result.available
|
||||
};
|
||||
return context;
|
||||
}
|
||||
|
@ -307,7 +313,10 @@ $(function () {
|
|||
coverArtUrl: result.coverArtUrl,
|
||||
artist: result.artist,
|
||||
releaseType: result.releaseType,
|
||||
country: result.country
|
||||
country: result.country,
|
||||
requested: result.requested,
|
||||
approved: result.approved,
|
||||
available: result.available
|
||||
};
|
||||
|
||||
return context;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue