ci: use Gitea API for releases #2

Closed
adrianbonpin wants to merge 56 commits from feat/ismis-helper into prod
Showing only changes of commit 51d467fbe7 - Show all commits
+3 -3
View File
@@ -207,7 +207,7 @@
COURSE_DESCRIPTION: cols[2].x + (cols[2].w - widths.COURSE_DESCRIPTION) / 2, COURSE_DESCRIPTION: cols[2].x + (cols[2].w - widths.COURSE_DESCRIPTION) / 2,
TEACHER: cols[3].x + (cols[3].w - widths.TEACHER) / 2, TEACHER: cols[3].x + (cols[3].w - widths.TEACHER) / 2,
UNITS: cols[4].x + (cols[4].w - widths.UNITS) / 2, UNITS: cols[4].x + (cols[4].w - widths.UNITS) / 2,
NOTE: cols[5].x + 3 NOTE: cols[5].x + (cols[5].w - widths.NOTE) / 2
}; };
} }
@@ -329,9 +329,9 @@
// Total sits under the UNITS column, right-aligned within it. // Total sits under the UNITS column, right-aligned within it.
const unitsCol = cols[4]; const unitsCol = cols[4];
const w = bold.widthOfTextAtSize(data.totalUnits, 8); const w = bold.widthOfTextAtSize(data.totalUnits, 8);
// Short underline just below the total, matching the reference.
hline(unitsCol.x, unitsCol.x + unitsCol.w, y - 2);
page.drawText(data.totalUnits, { x: unitsCol.x + unitsCol.w - w, y, size: 8, font: bold, color: black }); page.drawText(data.totalUnits, { x: unitsCol.x + unitsCol.w - w, y, size: 8, font: bold, color: black });
// Short underline below the total, spanning the UNITS column.
hline(unitsCol.x, unitsCol.x + unitsCol.w, y - 2);
y -= 12; y -= 12;
} }
hline(margin, margin + contentWidth, y); hline(margin, margin + contentWidth, y);