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

Verified Commit a389ccb5 authored by Hermann's avatar Hermann Committed by Sandro Lutz
Browse files

Minor corrections on studydocuments list

parent 2d48bb5c
......@@ -109,15 +109,12 @@ export default class editDoc extends EditView {
],
})),
}),
// additional file
m(Button, {
label: 'Additional File',
className: 'blue-button',
border: true,
// onclick to be enabled
events: { onclick: () => { this.form.data.files.push({ name: 'add file' }); } },
}),
]),
]);
......
......@@ -31,7 +31,7 @@ export default class StudydocTable {
keys: config.tableKeys,
tileContent: this.getItemData,
titles: [
{ text: 'Titel', width: 'calc(100% - 32em)' },
{ text: 'Title', width: 'calc(100% - 32em)' },
{ text: 'Department', width: '6em' },
{ text: 'Semester', width: '6em' },
{ text: 'Lecture', width: '10em' },
......
......@@ -55,7 +55,7 @@ export default class EditView extends ItemView {
submit(data) {
let request;
if (this.controller.modus === 'edit') {
// if id is known, this is a patch to an existing item
// this is a patch to an existing item
request = this.controller.patch(data);
} else {
request = this.controller.post(data);
......
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