mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
fixed numeric padding on auto formatted values
This commit is contained in:
parent
3dc52fabbc
commit
10a3606e2f
@ -424,13 +424,13 @@
|
|||||||
html += '<li><span class="mediaInfoLabel">Aspect Ratio</span> ' + stream.AspectRatio + '</li>';
|
html += '<li><span class="mediaInfoLabel">Aspect Ratio</span> ' + stream.AspectRatio + '</li>';
|
||||||
}
|
}
|
||||||
if (stream.BitRate) {
|
if (stream.BitRate) {
|
||||||
html += '<li><span class="mediaInfoLabel">Bitrate</span> <span class="autoNumeric" data-m-round="D">' + stream.BitRate + '</span></li>';
|
html += '<li><span class="mediaInfoLabel">Bitrate</span> <span class="autoNumeric" data-a-pad="false">' + stream.BitRate + '</span></li>';
|
||||||
}
|
}
|
||||||
if (stream.Channels) {
|
if (stream.Channels) {
|
||||||
html += '<li><span class="mediaInfoLabel">Channels</span> ' + stream.Channels + '</li>';
|
html += '<li><span class="mediaInfoLabel">Channels</span> ' + stream.Channels + '</li>';
|
||||||
}
|
}
|
||||||
if (stream.SampleRate) {
|
if (stream.SampleRate) {
|
||||||
html += '<li><span class="mediaInfoLabel">Sample Rate</span> <span class="autoNumeric" data-m-round="D">' + stream.SampleRate + '</span></li>';
|
html += '<li><span class="mediaInfoLabel">Sample Rate</span> <span class="autoNumeric" data-a-pad="false">' + stream.SampleRate + '</span></li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
var framerate = stream.AverageFrameRate || stream.RealFrameRate;
|
var framerate = stream.AverageFrameRate || stream.RealFrameRate;
|
||||||
|
@ -1282,7 +1282,7 @@
|
|||||||
|
|
||||||
renderBudget: function (elem, item) {
|
renderBudget: function (elem, item) {
|
||||||
if (item.Budget) {
|
if (item.Budget) {
|
||||||
elem.show().html('Budget: $<span class="autoNumeric">' + item.Budget + '</span>');
|
elem.show().html('Budget: $<span class="autoNumeric" data-a-pad="false">' + item.Budget + '</span>');
|
||||||
} else {
|
} else {
|
||||||
elem.hide();
|
elem.hide();
|
||||||
}
|
}
|
||||||
@ -1290,7 +1290,7 @@
|
|||||||
|
|
||||||
renderRevenue: function (elem, item) {
|
renderRevenue: function (elem, item) {
|
||||||
if (item.Revenue) {
|
if (item.Revenue) {
|
||||||
elem.show().html('Revenue: $<span class="autoNumeric">' + item.Revenue + '</span>');
|
elem.show().html('Revenue: $<span class="autoNumeric" data-a-pad="false">' + item.Revenue + '</span>');
|
||||||
} else {
|
} else {
|
||||||
elem.hide();
|
elem.hide();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user