From: Christian Heller Date: Sun, 23 Feb 2025 00:32:19 +0000 (+0100) Subject: Rename "inject". X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/booking/template?a=commitdiff_plain;h=dcc10250659a11bd3bfc00abdf6cf9a99a4bf016;p=ytplom Rename "inject". --- diff --git a/src/templates/file_data.tmpl b/src/templates/file_data.tmpl index 555c05b..adeaa58 100644 --- a/src/templates/file_data.tmpl +++ b/src/templates/file_data.tmpl @@ -34,7 +34,8 @@ async function update_file_data() { if (file_data.present) { const a = new_child_to("a", td_present, "yes"); a.href = "/{{page_names.download}}/{{file.yt_id}}"; - const button = new_child_to("button", td_present, "inject"); + td_present.appendChild(document.createTextNode(" ")); + const button = new_child_to("button", td_present, "add as next"); button.onclick = function() { player_command("inject_{{file.digest.b64}}"); } } else { td_present.textContent = "no"; diff --git a/src/templates/files.tmpl b/src/templates/files.tmpl index 9fbf6d2..76147ff 100644 --- a/src/templates/files.tmpl +++ b/src/templates/files.tmpl @@ -95,7 +95,7 @@ needed tags:

known files (shown: ?): - +