From ac668b3f238a9c91b5b2beb7dfdd8b6a42e77d07 Mon Sep 17 00:00:00 2001 From: Maarten Sijm <9739541+mpsijm@users.noreply.github.com> Date: Sun, 25 Sep 2022 14:27:04 +0200 Subject: [PATCH] Add links to merged scoreboards --- assets/ananke/css/archive.css | 1 + data/archive/dapc/2021.yaml | 1 + data/archive/fpc/2024.yaml | 1 + layouts/partials/archive-table.html | 13 ++++++------- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/assets/ananke/css/archive.css b/assets/ananke/css/archive.css index ad4e5ae..989e761 100644 --- a/assets/ananke/css/archive.css +++ b/assets/ananke/css/archive.css @@ -13,6 +13,7 @@ .archive-link { text-align: center; width: 3em; + white-space: nowrap; } .archive th { diff --git a/data/archive/dapc/2021.yaml b/data/archive/dapc/2021.yaml index b861b12..d4f6ed9 100644 --- a/data/archive/dapc/2021.yaml +++ b/data/archive/dapc/2021.yaml @@ -11,3 +11,4 @@ links: photos: https://ch.tudelft.nl/media/photos/?type_0=gallery&album_gallery_id_0=70 website: result: /archive/2021/dapc/scoreboard.html + merged: /archive/2021/dapc/full-scoreboard.html diff --git a/data/archive/fpc/2024.yaml b/data/archive/fpc/2024.yaml index d3f6fe5..1f9c2cf 100644 --- a/data/archive/fpc/2024.yaml +++ b/data/archive/fpc/2024.yaml @@ -11,3 +11,4 @@ links: photos: #https://ch.tudelft.nl/media/photos/?type_0=gallery&album_gallery_id_0=235 website: result: /archive/2024/fpc/scoreboard/ + merged: /archive/2024/fpc/merged-scoreboard/ diff --git a/layouts/partials/archive-table.html b/layouts/partials/archive-table.html index 1b2c9d2..4e7366e 100644 --- a/layouts/partials/archive-table.html +++ b/layouts/partials/archive-table.html @@ -38,16 +38,15 @@ {{end}} - {{if .links.result }} - - - scoreboard - - + {{if .links.result}} + scoreboard + {{end}} + {{if .links.merged}} + merge {{end}} - {{if .links.photos }} + {{if .links.photos}} photo_library