Skip to content

Commit

Permalink
fix: app specific language link
Browse files Browse the repository at this point in the history
- secondaryMenu needs to named just that for app specific language links
  • Loading branch information
falric committed Nov 14, 2023
1 parent 8020e2b commit 3a415c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/serverSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ module.exports = {
//blockUrl: getEnv('CM_HOST_URL', devDefaults('https://app-r.referens.sys.kth.se/cm/')), // Block API base URL
blockUrl: getEnv('CM_HOST_URL', devDefaults('https://www.kth.se/cm/')),
addBlocks: {
studentSecondaryMenu: '1.1066515',
secondaryMenu: '1.1066515',
studentMegaMenu: '1.1066510',
studentSearch: '1.1066521',
studentFooter: '1.1066523',
},
globalLink: true,
globalLink: false,
},

// Logging
Expand Down
2 changes: 1 addition & 1 deletion server/views/partials/kthHeader.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<a href={{aboutCourse.siteUrl}}>{{aboutCourse.siteName}}</a>
</div>
<div class="block list links secondaryMenu" lang={{lang}}>
{{{blocks.studentSecondaryMenu}}}
{{{blocks.secondaryMenu}}}
</div>
<div id="mobileMenuWrapper">
<button id="nav-icon" class="navbar-toggler nav-icon" type="button"
Expand Down

0 comments on commit 3a415c4

Please sign in to comment.