feat(v3.4.0): support multi-career subjects with subject_careers Many-to-Many and enhance Google Sheets importer for 6 days

This commit is contained in:
2026-10-07 18:04:23 -03:00
parent 14bf7169c2
commit a60a7cdc78
17 changed files with 335 additions and 67 deletions
+9 -1
View File
@@ -148,7 +148,15 @@
{% endif %}
</td>
<td>
{% if s.career_obj %}
{% if s.careers and (s.careers|length > 0) %}
<div class="d-flex flex-wrap gap-1">
{% for c_obj in s.careers %}
<span class="badge bg-secondary-subtle text-secondary border">
<i class="bi bi-mortarboard me-1"></i>{{ c_obj.name }}
</span>
{% endfor %}
</div>
{% elif s.career_obj %}
<span class="badge bg-secondary-subtle text-secondary border">
<i class="bi bi-mortarboard me-1"></i>{{ s.career_obj.name }}
</span>