To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

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 {
// page 5: images
m('div', {
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 => [
this.form.data[`img_${key}`] ? m('img', {
src: `${apiUrl}${this.form.data[`img_${key}`].file}`,
......@@ -443,6 +445,7 @@ export default class newEvent extends EditView {
accept: 'image/png, image/jpeg',
})),
]),
]),
// bottom back & forth
m('div', {
......
Markdown is supported
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