« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/content/dependencies/generateChronologyLinksScopeSwitcher.js27
-rw-r--r--src/strings-default.yaml2
2 files changed, 16 insertions, 13 deletions
diff --git a/src/content/dependencies/generateChronologyLinksScopeSwitcher.js b/src/content/dependencies/generateChronologyLinksScopeSwitcher.js
index 53ec87a6..29f0c24e 100644
--- a/src/content/dependencies/generateChronologyLinksScopeSwitcher.js
+++ b/src/content/dependencies/generateChronologyLinksScopeSwitcher.js
@@ -25,18 +25,21 @@ export default {
 
       [
         html.tag('summary',
-          language.$('trackPage.nav.chronology.scope.title', {
-            scope:
-              slots.scopes.map((scope, index) =>
-                html.tag('a', {class: 'switcher-link'},
-                  {href: '#'},
-
-                  (index === 0
-                    ? {style: 'display: inline'}
-                    : {style: 'display: none'}),
-
-                  language.$('trackPage.nav.chronology.scope', scope))),
-          })),
+          {class: 'underline-white'},
+
+          html.tag('span',
+            language.$('trackPage.nav.chronology.scope.title', {
+              scope:
+                slots.scopes.map((scope, index) =>
+                  html.tag('a', {class: 'switcher-link'},
+                    {href: '#'},
+
+                    (index === 0
+                      ? {style: 'display: inline'}
+                      : {style: 'display: none'}),
+
+                    language.$('trackPage.nav.chronology.scope', scope))),
+            }))),
 
         stitchArrays({
           scope: slots.scopes,
diff --git a/src/strings-default.yaml b/src/strings-default.yaml
index a2814112..0e63201e 100644
--- a/src/strings-default.yaml
+++ b/src/strings-default.yaml
@@ -1844,7 +1844,7 @@ trackPage:
 
     chronology:
       scope:
-        title: "Chronology links {SCOPE}:"
+        title: "Chronology links {SCOPE}"
         wiki: "across this wiki"
         album: "within this album"