mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 16:22:57 -07:00
Merge pull request #1084 from mttlmy/dev
Added platform 'Linux' to link to image linux.png
This commit is contained in:
commit
b3da08ce74
1 changed files with 3 additions and 1 deletions
|
@ -258,6 +258,8 @@ function getPlatformImagePath(platformName) {
|
||||||
return 'images/platforms/pmp.png';
|
return 'images/platforms/pmp.png';
|
||||||
} else if (platformName.indexOf("PlexTogether") > -1) {
|
} else if (platformName.indexOf("PlexTogether") > -1) {
|
||||||
return 'images/platforms/plextogether.png';
|
return 'images/platforms/plextogether.png';
|
||||||
|
} else if (platformName.indexOf("Linux") > -1) {
|
||||||
|
return 'images/platforms/linux.png';
|
||||||
} else {
|
} else {
|
||||||
return 'images/platforms/default.png';
|
return 'images/platforms/default.png';
|
||||||
}
|
}
|
||||||
|
@ -467,4 +469,4 @@ function humanFileSize(bytes, si) {
|
||||||
++u;
|
++u;
|
||||||
} while (Math.abs(bytes) >= thresh && u < units.length - 1);
|
} while (Math.abs(bytes) >= thresh && u < units.length - 1);
|
||||||
return bytes.toFixed(1) + ' ' + units[u];
|
return bytes.toFixed(1) + ' ' + units[u];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue