Skip to content

Commit

Permalink
add button for mobile mega menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Andin committed Apr 16, 2024
1 parent 0888d6f commit ccc6e35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions i18n/messages.en.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = {
language_link_lang_sv: 'Svenska',
menu_panel_search: 'Search',
menu_panel_close: 'Close',
menu_panel_menu: 'Menu',
},
bankIdAlertText: `Please note that <a href="https://www.kth.se/en/studies/freestanding-courses/applying-to-a-course-if-you-are-not-in-sweden-1.1275545" class="external-link" target="_blank" rel="noopener noreferrer">Students not located in Sweden may have problems attending a course at KTH.</a> <br/> You could meet obstacles if you're required to pay fees or if you do not have a Swedish Mobile BankID. `,
courseLabels: {
Expand Down
1 change: 1 addition & 0 deletions i18n/messages.se.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module.exports = {
language_link_lang_en: 'English',
menu_panel_search: 'Sök',
menu_panel_close: 'Stäng',
menu_panel_menu: 'Meny',
},
bankIdAlertText:
'Du behöver ett KTH-konto för att läsa en kurs på KTH, kontot aktiveras med Mobilt BankID eller genom att besöka KTH:s campus. Det enda sättet att starta en kurs utan att besöka campus, är om du har Mobilt BankID.',
Expand Down
3 changes: 3 additions & 0 deletions server/views/partials/kthHeader.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<li>{{> headerSearch }}</li>
<li>{{{languageLink lang}}}</li>
</ul>
<button class="kth-menu-item menu collapsable">
<span>{{i18n 'menu_panel_menu' lang}}</span>
</button>
</div>
</header>
<div class="kth-content articleNavigation">
Expand Down

0 comments on commit ccc6e35

Please sign in to comment.