fix: formatting issues

This commit is contained in:
prssanna
2021-02-01 20:12:47 +05:30
parent 53225f5cbb
commit 526ea46ae2
6 changed files with 28 additions and 24 deletions

View File

@@ -19,8 +19,8 @@ frappe.ui.form.on('Course Scheduling Tool', {
}
const { course_schedules } = r.message;
if (course_schedules) {
const html = `
<table class="table table-bordered">
/* eslint-disable indent */
const html = `<table class="table table-bordered">
<caption>${__('Following course schedules were created')}</caption>
<thead><tr><th>${__("Course")}</th><th>${__("Date")}</th></tr></thead>
<tbody>
@@ -29,7 +29,8 @@ frappe.ui.form.on('Course Scheduling Tool', {
<td>${c.schedule_date}</td></tr>`
).join('')}
</tbody>
</table>`
</table>`;
/* eslint-disable indent */
frappe.msgprint(html);
}