Skip to content

Commit

Permalink
Merge pull request #1086 from City-of-Helsinki/UHF-10542_maintenance_…
Browse files Browse the repository at this point in the history
…links

UHF-10542: Update maintenance page links
  • Loading branch information
Arkkimaagi authored Oct 17, 2024
2 parents 84550be + 524226f commit d7aac8d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hdbt.theme
Original file line number Diff line number Diff line change
Expand Up @@ -1541,20 +1541,20 @@ function hdbt_preprocess_maintenance_page(&$variables): void {
// accordingly.
switch ($variables['language']->getId()) {
case 'fi':
$variables['maintenance_page_home_link'] = 'https://www.hel.fi/helsinki/fi';
$variables['maintenance_page_feedback_link'] = 'https://www.hel.fi/helsinki/fi/kaupunki-ja-hallinto/osallistu-ja-vaikuta/palaute';
$variables['maintenance_page_home_link'] = 'https://www.hel.fi/fi';
$variables['maintenance_page_feedback_link'] = 'https://palautteet.hel.fi/fi';
$variables['maintenance_page_copy_link'] = 'https://kopio.hel.fi/fi.html';
break;

case 'sv':
$variables['maintenance_page_home_link'] = 'https://www.hel.fi/helsinki/sv';
$variables['maintenance_page_feedback_link'] = 'https://www.hel.fi/helsinki/sv/stad-och-forvaltning/delta/feedback';
$variables['maintenance_page_home_link'] = 'https://www.hel.fi/sv';
$variables['maintenance_page_feedback_link'] = 'https://palautteet.hel.fi/sv';
$variables['maintenance_page_copy_link'] = 'https://kopio.hel.fi/sv.html';
break;

default:
$variables['maintenance_page_home_link'] = 'https://www.hel.fi/helsinki/en';
$variables['maintenance_page_feedback_link'] = 'https://www.hel.fi/helsinki/en/administration/participate/feedback';
$variables['maintenance_page_home_link'] = 'https://www.hel.fi/en';
$variables['maintenance_page_feedback_link'] = 'https://palautteet.hel.fi/en';
$variables['maintenance_page_copy_link'] = 'https://kopio.hel.fi/en.html';
break;
}
Expand Down

0 comments on commit d7aac8d

Please sign in to comment.