From 128d6ee5c937652813c7a9aed198239f1d74c96d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 18 Aug 2020 16:31:08 +0200 Subject: annotation edits --- .../views/align/components/annotations/annotation.form.js | 2 +- .../annotations/annotationForms/annotationForm.video.js | 6 ++++++ .../annotations/annotationTypes/annotationTypes.utility.js | 13 +++++++++++++ .../align/components/annotations/annotationTypes/index.js | 2 ++ 4 files changed, 22 insertions(+), 1 deletion(-) (limited to 'animism-align/frontend/app/views/align/components') diff --git a/animism-align/frontend/app/views/align/components/annotations/annotation.form.js b/animism-align/frontend/app/views/align/components/annotations/annotation.form.js index eb5afeb..829d3ae 100644 --- a/animism-align/frontend/app/views/align/components/annotations/annotation.form.js +++ b/animism-align/frontend/app/views/align/components/annotations/annotation.form.js @@ -17,7 +17,7 @@ const ANNOTATION_TYPES = [ 'video', 'image', 'gallery', 'carousel', 'grid', 'vitrine', - 'curtain', 'intro', + 'curtain', 'intro', 'schedule', ].map(name => ({ name, label: capitalize(name.replace('_', ' ')) })) class AnnotationForm extends Component { diff --git a/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js index 9d15b44..8ba9c9b 100644 --- a/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js +++ b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js @@ -42,6 +42,12 @@ export const AnnotationFormVideo = ({ annotation, media, handleSettingsSelect, h checked={annotation.settings.inline} onChange={handleSettingsSelect} /> +