feat(tasks): ответственный, пресеты, свимлейны, утренний дайджест на почту
wiki-sync / Publish docs/wiki to Gitea wiki (push) Successful in 28s
wiki-sync / Publish docs/wiki to Gitea wiki (push) Successful in 28s
- radicale: X-RESPONSIBLE/-NAME/-EMAIL, set_responsible; починена правка задач, у которых имя файла ≠ UID (кэш перечитывается при 404, _resource_url помнит href) - board: просрочка после 18:00 МСК, пресеты resp=, группировка по ответственному - tasktracker: правило «вне бэклога только с ответственным», set_responsible - UI доски: бейдж/поповер ответственного, пресеты, переключатель «По ответственным» - контакты: is_employee (звёздочка, пресет «Сотрудники»), 9 сотрудников отмечены, Жигульский/Ферулёв/Чикуров созданы заготовками - scripts/backfill_responsible.py: владелец проставлен 73 задачам - scripts/tasks_digest.py + cron 08:00 daily: письмо с разделами, himalaya -a hermes - tests: test_task_responsible.py (15), test_tasks_digest.py (6) - openspec changes task-responsible и tasks-digest заархивированы
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
<div class="cfa">
|
||||
<button type="submit" class="btn">Найти</button>
|
||||
<a class="btn" href="/contacts">Сбросить</a>
|
||||
<a class="btn{% if emp %} on{% endif %}" href="/contacts?emp=1&letter=all">★ Сотрудники</a>
|
||||
</div>
|
||||
<input type="hidden" name="letter" value="{{ letter_param }}">
|
||||
<input type="hidden" name="per_page" value="{{ per_page }}">
|
||||
@@ -130,6 +131,14 @@
|
||||
}
|
||||
}).catch(function (e) { data.err = 'ошибка: ' + e; });
|
||||
};
|
||||
window.CTEmployee = function (el, id) {
|
||||
fetch('/api/contact/' + encodeURIComponent(id) + '/employee', {method: 'POST'})
|
||||
.then(function (r) { return r.json(); })
|
||||
.then(function () {
|
||||
fetch('/contacts/' + encodeURIComponent(id)).then(function (r) { return r.text(); })
|
||||
.then(function (h) { var c3 = document.getElementById('c3'); if (c3) { c3.innerHTML = h; } });
|
||||
});
|
||||
};
|
||||
(function () {
|
||||
var list = document.getElementById('clist'), top = document.getElementById('ctop');
|
||||
if (!list || !top) return;
|
||||
|
||||
Reference in New Issue
Block a user