Skip to content

Commit 799d1a5

Browse files
committed
Add missing mappings for h5p kind.
1 parent a82e78b commit 799d1a5

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

contentcuration/contentcuration/frontend/shared/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ export const AccessibilityCategoriesMap = {
205205
video: ['CAPTIONS_SUBTITLES', 'AUDIO_DESCRIPTION', 'SIGN_LANGUAGE'],
206206
exercise: ['ALT_TEXT'],
207207
html5: ['ALT_TEXT', 'HIGH_CONTRAST'],
208+
h5p: ['ALT_TEXT', 'HIGH_CONTRAST'],
208209
audio: ['CAPTIONS_SUBTITLES'],
209210
};
210211

contentcuration/contentcuration/frontend/shared/views/ContentNodeIcon.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@
8484
return this.$tr('exercise');
8585
case 'document':
8686
return this.$tr('document');
87+
case 'h5p':
88+
return this.$tr('html5');
8789
case 'html5':
8890
return this.$tr('html5');
8991
default:

contentcuration/contentcuration/frontend/shared/vuetify/theme.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export default function theme() {
2020
audio: '#f06292',
2121
document: '#ff3d00',
2222
exercise: '#4db6ac',
23+
h5p: '#ff8f00',
2324
html5: '#ff8f00',
2425
zim: '#ff8f00',
2526
slideshow: '#4ece90',

0 commit comments

Comments
 (0)