Skip to content
Snippets Groups Projects
Commit 6ca54037 authored by Hermann's avatar Hermann
Browse files

show a picture shrinked down to a width

parent 5e553c7e
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,7 @@ export default class viewEvent extends ItemView {
]),
// a list of email adresses of all participants, easy to copy-paste
m(DropdownCard, { title: 'Email Adresses' }, [
m(DropdownCard, { title: 'Email Adresses', style: { margin: '10px 0' } }, [
m(Switch, {
defaultChecked: false,
label: 'show unaccepted',
......@@ -263,6 +263,16 @@ export default class viewEvent extends ItemView {
}),
m(EmailList, { list: this.emaillist }),
]),
m(DropdownCard, { title: 'Images' }, [
m('div', this.data.img_thumbnail && 'Thumbnail'),
m('div', this.data.img_poster && 'Poster'),
m('div', this.data.img_infoscreen && 'Infoscreen'),
this.data.img_poster && m('img', {
'src': `${apiUrl}${this.data.img_poster.file}`,
'width': '40%',
}),
]),
]),
m('div.viewcontainercolumn', [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment