sans preférence

This commit is contained in:
iziram 2023-06-02 16:14:04 +02:00
parent 76a0bab769
commit 42d33c9a41
2 changed files with 8 additions and 9 deletions

View File

@ -70,13 +70,12 @@
{% include "assiduites/prompt.j2" %} {% include "assiduites/prompt.j2" %}
<script> <script>
const nonWorkDays = [{{ nonworkdays| safe }}]; const nonWorkDays = [];
debugger;
updateDate(); updateDate();
setupDate(); setupDate();
setupTimeLine(); setupTimeLine();
let forceModule = "{{ forcer_module }}" let forceModule = ""
forceModule = forceModule == "True" ? true : false forceModule = forceModule == "True" ? true : false
</script> </script>
</section> </section>

View File

@ -399,14 +399,14 @@ def signal_assiduites_group():
grp=sco_groups_view.menu_groups_choice(groups_infos), grp=sco_groups_view.menu_groups_choice(groups_infos),
moduleimpl_select=_module_selector(formsemestre, moduleimpl_id), moduleimpl_select=_module_selector(formsemestre, moduleimpl_id),
timeline=_timeline(), timeline=_timeline(),
nonworkdays=_non_work_days(), # nonworkdays=_non_work_days(),
formsemestre_date_debut=str(formsemestre.date_debut), formsemestre_date_debut=str(formsemestre.date_debut),
formsemestre_date_fin=str(formsemestre.date_fin), formsemestre_date_fin=str(formsemestre.date_fin),
forcer_module=sco_preferences.get_preference( # forcer_module=sco_preferences.get_preference(
"forcer_module", # "forcer_module",
formsemestre_id=formsemestre_id, # formsemestre_id=formsemestre_id,
dept_id=g.scodoc_dept_id, # dept_id=g.scodoc_dept_id,
), # ),
), ),
html_sco_header.sco_footer(), html_sco_header.sco_footer(),
).build() ).build()