([^<]*)([^<]*)<\/span>/.exec(html);
+ showToast(err ? err[1].trim() : (ok ? ok[1].trim() : 'Сохранено'), err ? 'error' : 'success');
+ return refreshAssignModal(form.getAttribute('data-refresh'));
+ })
.catch(function (e) { showToast('Не удалось сохранить: ' + e.message, 'error'); })
.finally(function () { if (btn) btn.disabled = false; });
});
diff --git a/web/src/main/resources/templates/admin/group.html b/web/src/main/resources/templates/admin/group.html
index edaf529..399cb12 100644
--- a/web/src/main/resources/templates/admin/group.html
+++ b/web/src/main/resources/templates/admin/group.html
@@ -44,10 +44,10 @@
ЛР
—
-
-
- 0
+ th:title="|Скачать решения по ЛР ${lab.number}|">⤓
0