Skip to content

Commit

Permalink
Add links to merged scoreboards
Browse files Browse the repository at this point in the history
  • Loading branch information
mpsijm committed May 10, 2024
1 parent 96ff39e commit ac668b3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions assets/ananke/css/archive.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
.archive-link {
text-align: center;
width: 3em;
white-space: nowrap;
}

.archive th {
Expand Down
1 change: 1 addition & 0 deletions data/archive/dapc/2021.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions data/archive/fpc/2024.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
13 changes: 6 additions & 7 deletions layouts/partials/archive-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,15 @@
{{end}}
</td>
<td class="archive-link">
{{if .links.result }}
<a href="{{.links.result}}" target="_blank">
<span class="material-symbols-outlined icon" title="Scoreboard">
scoreboard
</span>
</a>
{{if .links.result}}
<a href="{{.links.result}}" target="_blank"><span class="material-symbols-outlined icon" title="Scoreboard">scoreboard</span></a>
{{end}}
{{if .links.merged}}
<a href="{{.links.merged}}" target="_blank"><span class="material-symbols-outlined icon" title="Merged">merge</span></a>
{{end}}
</td>
<td class="archive-link">
{{if .links.photos }}
{{if .links.photos}}
<a href="{{.links.photos}}" target="_blank">
<span class="material-symbols-outlined icon" title="Photos">
photo_library
Expand Down

0 comments on commit ac668b3

Please sign in to comment.