Skip to content

Commit

Permalink
fix(KUI-1375): fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
axelbjo committed Oct 4, 2024
2 parents 1b46ae3 + b2446d8 commit d253ebf
Show file tree
Hide file tree
Showing 25 changed files with 416 additions and 258 deletions.
6 changes: 5 additions & 1 deletion i18n/messages.en.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ module.exports = {
menu_panel_close: 'Close',
menu_panel_menu: 'Menu',
},
showMoreContent: {
show: 'Show more',
hide: 'Hide',
},
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: {
label_course_description: 'Introduction to course',
Expand Down Expand Up @@ -100,7 +104,7 @@ module.exports = {
'Course offering may be cancelled if number of admitted are less than minimum of places. If there are more applicants than number of places selection will be made.',
round_seats_info: 'The selection results are based on:',
syllabus_info:
'<p>A course goes different course offerings. To see information about a specific course offering, choose semester and course offering. The course syllabus information will be updated depending on the chosen semester. Information from the course syllabus is marked with *.</p><p>• Please note: regulations in course syllabus are rules that are generally applicable and binding for both employees and students.</p><p>• If you have not chosen semester and course offering, you will see course information from the current or future course syllabus. The valid period of the course syllabus is stated on the page.</p>',
'<p>A course goes different course offerings. To see information about a specific course offering, choose semester and course offering. The course syllabus information will be updated depending on the chosen semester. Information from the course syllabus is marked with *</p>',
sideMenu: {
aria_label: 'Sub menu',
page_about_course: 'About course',
Expand Down
6 changes: 5 additions & 1 deletion i18n/messages.se.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ module.exports = {
menu_panel_close: 'Stäng',
menu_panel_menu: 'Meny',
},
showMoreContent: {
show: 'Visa mer',
hide: 'Dölj',
},
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.',
courseLabels: {
Expand Down Expand Up @@ -102,7 +106,7 @@ module.exports = {
'Kursomgången kan komma att ställas in om antalet antagna understiger minimiantalet platser. Vid fler sökande än platser kommer urval att ske.',
round_seats_info: 'Urvalet sker baserat på:',
syllabus_info:
'<p>En kurs undervisas i olika kursomgångar. För att se information om en specifik kursomgång behöver du välja termin och kursomgång. Information från kursplan kommer att uppdateras beroende på vald termin. Information från kursplan är markerad med *.</p><p>• Observera: bestämmelser i kursplaner är regler som är generellt tillämpbara och bindande för såväl anställda som studenter.</p><p>• Har du inte valt termin och kursomgång ser du kursinformation från nuvarande eller kommande kursplan. På sidan anges den period som information från kursplan gäller för.</p>',
'<p>En kurs undervisas i olika kursomgångar. För att se information om en specifik kursomgång behöver du välja termin och kursomgång. Information från kursplan kommer att uppdateras beroende på vald termin. Information från kursplan är markerad med *</p>',
sideMenu: {
aria_label: 'Undermeny',
page_about_course: 'Om kursen ',
Expand Down
134 changes: 67 additions & 67 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@kth/monitor": "^4.3.1",
"@kth/server": "^4.1.0",
"@kth/session": "^3.0.9",
"@kth/style": "^0.18.12",
"@kth/style": "^1.4.2",
"@kth/ug-rest-api-helper": "^1.0.26",
"axios": "^1.7.2",
"body-parser": "^1.20.2",
Expand Down
16 changes: 9 additions & 7 deletions public/css/_shared.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@
}
}
}
.kth-local-navigation--mobile {
padding: 0;
}
label:has(+ .form-group),
label:has(+ input) {
@include typography.font-heading-xs;
display: block;
margin-bottom: 0.25rem;
}
}

#mainContent {
Expand Down Expand Up @@ -159,10 +168,3 @@ p {
.select-wrapper::after {
background-color: var(--color-primary);
}

label:has(+ .form-group),
label:has(+ input) {
@include typography.font-heading-xs;
display: block;
margin-bottom: 0.25rem;
}
Loading

0 comments on commit d253ebf

Please sign in to comment.