mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add instruction
This commit is contained in:
parent
11bfc4ff55
commit
cc1c78091b
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ function getEditorHtml(options, systemInfo) {
|
|||
let html = '';
|
||||
html += '<div class="formDialogContent scrollY">';
|
||||
html += '<div class="dialogContentInner dialog-content-centered" style="padding-top:2em;">';
|
||||
if (!options.pathReadOnly && systemInfo.OperatingSystem) {
|
||||
if (!options.pathReadOnly && (options.instruction || systemInfo.OperatingSystem)) {
|
||||
const instruction = options.instruction ? `${escapeHtml(options.instruction)}<br/><br/>` : '';
|
||||
html += '<div class="infoBanner" style="margin-bottom:1.5em;">';
|
||||
html += instruction;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue