Review/publish: multi-select roles → one listing per role
An ad can cover several roles (e.g. «پرستار سالمند و کودک و همراه بیمار»). The role dropdown is now a checkbox multi-select; on publish we fan out and create one Shift/Job/Talent per selected role (mirrors the auto-ingest fan-out). Jobs get a per-role title when multiple are chosen; talent listings each get their own contact rows; all created items notify matches. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -430,6 +430,13 @@ mark { background: #fff3bf; color: inherit; padding: 0 2px; border-radius: 3px;
|
||||
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
|
||||
.settings-panel h3:first-child { margin-top: 0; }
|
||||
|
||||
/* Multi-select role checkboxes on the review/publish form */
|
||||
.role-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
|
||||
.role-check { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--line);
|
||||
border-radius: 10px; cursor: pointer; font-size: 13.5px; font-weight: 600; background: var(--bg); }
|
||||
.role-check input { width: 16px; height: 16px; flex: 0 0 auto; }
|
||||
.role-check:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }
|
||||
|
||||
/* Each ingestion source gets its own card so the settings don't run together. */
|
||||
.source-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 12px 0; background: var(--surface); }
|
||||
.source-box .toggle-row { background: var(--bg); margin-bottom: 10px; }
|
||||
|
||||
Reference in New Issue
Block a user