mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Merge pull request #4281 from thornbill/experimental-display-mode
This commit is contained in:
commit
e4bdf06261
@ -172,6 +172,7 @@
|
|||||||
<option value="desktop">${Desktop}</option>
|
<option value="desktop">${Desktop}</option>
|
||||||
<option value="mobile">${Mobile}</option>
|
<option value="mobile">${Mobile}</option>
|
||||||
<option value="tv">${TV}</option>
|
<option value="tv">${TV}</option>
|
||||||
|
<option value="experimental">${Experimental}</option>
|
||||||
</select>
|
</select>
|
||||||
<div class="fieldDescription">${DisplayModeHelp}</div>
|
<div class="fieldDescription">${DisplayModeHelp}</div>
|
||||||
<div class="fieldDescription">${LabelPleaseRestart}</div>
|
<div class="fieldDescription">${LabelPleaseRestart}</div>
|
||||||
|
@ -31,6 +31,11 @@ class LayoutManager {
|
|||||||
setLayout(this, 'tv', layout);
|
setLayout(this, 'tv', layout);
|
||||||
setLayout(this, 'desktop', layout);
|
setLayout(this, 'desktop', layout);
|
||||||
|
|
||||||
|
if (layout === 'experimental') {
|
||||||
|
const legacyLayoutMode = browser.mobile ? 'mobile' : this.defaultLayout || 'desktop';
|
||||||
|
setLayout(this, legacyLayoutMode, legacyLayoutMode);
|
||||||
|
}
|
||||||
|
|
||||||
if (save !== false) {
|
if (save !== false) {
|
||||||
appSettings.set('layout', layout);
|
appSettings.set('layout', layout);
|
||||||
}
|
}
|
||||||
|
@ -268,6 +268,7 @@
|
|||||||
"EveryXHours": "Every {0} hours",
|
"EveryXHours": "Every {0} hours",
|
||||||
"EveryXMinutes": "Every {0} minutes",
|
"EveryXMinutes": "Every {0} minutes",
|
||||||
"ExitFullscreen": "Exit full screen",
|
"ExitFullscreen": "Exit full screen",
|
||||||
|
"Experimental": "Experimental",
|
||||||
"ExtractChapterImagesHelp": "Extracting chapter images will allow clients to display graphical scene selection menus. The process can be slow, resource intensive, and may require several gigabytes of space. It runs when videos are discovered, and also as a nightly scheduled task. The schedule is configurable in the scheduled tasks area. It is not recommended to run this task during peak usage hours.",
|
"ExtractChapterImagesHelp": "Extracting chapter images will allow clients to display graphical scene selection menus. The process can be slow, resource intensive, and may require several gigabytes of space. It runs when videos are discovered, and also as a nightly scheduled task. The schedule is configurable in the scheduled tasks area. It is not recommended to run this task during peak usage hours.",
|
||||||
"ExtraLarge": "Extra Large",
|
"ExtraLarge": "Extra Large",
|
||||||
"Extras": "Extras",
|
"Extras": "Extras",
|
||||||
|
Loading…
Reference in New Issue
Block a user