Commit 3697bb56 authored by maspect's avatar maspect
Browse files

Add text to imform user about format on images

parent fa8dbb59
...@@ -431,7 +431,9 @@ export default class newEvent extends EditView { ...@@ -431,7 +431,9 @@ export default class newEvent extends EditView {
// page 5: images // page 5: images
m('div', { m('div', {
style: { display: (this.currentpage === 5) ? 'block' : 'none' }, style: { display: (this.currentpage === 5) ? 'block' : 'none' },
}, [ }, [
m('div', 'Formats for the files: Thumbnail: 1:1, Poster: Any DIN-A, Infoscreen: 16:9'),
['thumbnail', 'poster', 'infoscreen'].map(key => [ ['thumbnail', 'poster', 'infoscreen'].map(key => [
this.form.data[`img_${key}`] ? m('img', { this.form.data[`img_${key}`] ? m('img', {
src: `${apiUrl}${this.form.data[`img_${key}`].file}`, src: `${apiUrl}${this.form.data[`img_${key}`].file}`,
...@@ -443,6 +445,7 @@ export default class newEvent extends EditView { ...@@ -443,6 +445,7 @@ export default class newEvent extends EditView {
accept: 'image/png, image/jpeg', accept: 'image/png, image/jpeg',
})), })),
]), ]),
]), ]),
// bottom back & forth // bottom back & forth
m('div', { m('div', {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment