added regatta_facts incl links

This commit is contained in:
ostertun
2022-06-27 11:31:59 +02:00
parent 689845d02a
commit 00dc405158
7 changed files with 323 additions and 4 deletions

View File

@@ -137,6 +137,14 @@ async function onRegattaClicked(id) {
$('#menu-item-bericht').hide();
}
// Fakten
if ('facts' in regatta && regatta['facts'] != null) {
$('#menu-item-facts').show();
$('#menu-item-facts').attr('href', LINK_PRE + 'regatta_facts?regatta=' + regatta['id']);
} else {
$('#menu-item-facts').hide();
}
// Info
if (regatta['info'] != '') {
$('#menu-item-info').show();