Skip to content

Commit

Permalink
New pages version Wed Nov 13 13:52:22 UTC 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
bugwelle committed Nov 13, 2024
1 parent 46a4caa commit 3303900
Show file tree
Hide file tree
Showing 4 changed files with 232 additions and 226 deletions.
1 change: 1 addition & 0 deletions _sources/release-notes.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Added
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Renamer: Placeholder ``<tmdbId>`` is now also available for TV shows and episodes (`#1814 <https://github.com/Komet/MediaElch/issues/1814>`_)
- NFO: ``<hdrtype>`` is now supported (`#1810 <https://github.com/Komet/MediaElch/issues/1810>`_)

2.12.0 - 2024-10-13
************************************
Expand Down
10 changes: 7 additions & 3 deletions _static/js/versions.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
const themeFlyoutDisplay = "hidden";
const themeVersionSelector = "True";
const themeLanguageSelector = "True";
const themeVersionSelector = true;
const themeLanguageSelector = true;

if (themeFlyoutDisplay === "attached") {
function renderLanguages(config) {
if (!config.projects.translations.length) {
return "";
}

// Insert the current language to the options on the selector
let languages = config.projects.translations.concat(config.projects.current);
languages = languages.sort((a, b) => a.language.name.localeCompare(b.language.name));

const languagesHTML = `
<dl>
<dt>Languages</dt>
${config.projects.translations
${languages
.map(
(translation) => `
<dd ${translation.slug == config.projects.current.slug ? 'class="rtd-current-item"' : ""}>
Expand Down
Loading

0 comments on commit 3303900

Please sign in to comment.