mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add concept of Supporter-only plug-ins (premium with price = 0)
This commit is contained in:
parent
de9d2a3afd
commit
96d6767689
4 changed files with 44 additions and 31 deletions
|
@ -47,7 +47,11 @@
|
|||
}
|
||||
|
||||
if (plugin.isPremium) {
|
||||
html += "<div class='premiumBanner'><img src='css/images/premiumflag.png' /></div>";
|
||||
if (plugin.price > 0) {
|
||||
html += "<div class='premiumBanner'><img src='css/images/premiumflag.png' /></div>";
|
||||
} else {
|
||||
html += "<div class='premiumBanner'><img src='css/images/supporterflag.png' /></div>";
|
||||
}
|
||||
}
|
||||
|
||||
var color = plugin.tileColor || Dashboard.getRandomMetroColor();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue