Add team roles and content management updates
This commit is contained in:
@@ -103,9 +103,9 @@ public static class SeasonMappings
|
||||
return "show";
|
||||
}
|
||||
|
||||
if (value.Contains("review") || value.Contains("auswert"))
|
||||
if (value.Contains("aufbereit") || value.Contains("vorbereit") || value.Contains("pause") || value.Contains("review") || value.Contains("auswert"))
|
||||
{
|
||||
return "review";
|
||||
return "preparation";
|
||||
}
|
||||
|
||||
if (value.Contains("vot"))
|
||||
@@ -123,7 +123,7 @@ public static class SeasonMappings
|
||||
|
||||
public static string ResolveTimelineState(string itemKey, string currentPhaseKey)
|
||||
{
|
||||
string[] phaseOrder = ["nomination", "voting", "review", "show"];
|
||||
string[] phaseOrder = ["nomination", "voting", "preparation", "show"];
|
||||
if (string.Equals(currentPhaseKey, "completed", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return phaseOrder.Contains(itemKey) ? "done" : "upcoming";
|
||||
@@ -181,8 +181,8 @@ public static class SeasonMappings
|
||||
|
||||
public static FooterLinkDto[] BuildFooterLinks(SiteSettings settings) =>
|
||||
[
|
||||
new FooterLinkDto("Impressum", settings.ImprintUrl),
|
||||
new FooterLinkDto("Kontakt", settings.ContactUrl),
|
||||
new FooterLinkDto("Sponsoren & Partner", settings.SponsorsUrl),
|
||||
new FooterLinkDto("imprint", "Impressum", settings.ImprintUrl, settings.ImprintContent),
|
||||
new FooterLinkDto("contact", "Kontakt", settings.ContactUrl, settings.ContactContent),
|
||||
new FooterLinkDto("sponsors", "Sponsoren & Partner", settings.SponsorsUrl, settings.SponsorsContent),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user