Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCODOC_R6A06
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jean-Marie Place
SCODOC_R6A06
Commits
b2ca3b99
Commit
b2ca3b99
authored
3 months ago
by
Emmanuel Viennet
Browse files
Options
Downloads
Patches
Plain Diff
PE: Fix: off-by-one error in ABS cols titles
parent
6b369d79
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/pe/pe_etudiant.py
+2
-2
2 additions, 2 deletions
app/pe/pe_etudiant.py
with
2 additions
and
2 deletions
app/pe/pe_etudiant.py
+
2
−
2
View file @
b2ca3b99
...
@@ -601,7 +601,7 @@ def absences_du_cursus(
...
@@ -601,7 +601,7 @@ def absences_du_cursus(
abs_dict
=
{}
abs_dict
=
{}
for
i
,
formsemestre
in
enumerate
(
reversed
(
semestres
.
values
()),
start
=
1
):
for
i
,
formsemestre
in
enumerate
(
reversed
(
semestres
.
values
()),
start
=
1
):
nbabsnj
,
nbabsjust
,
nbabs
=
formsemestre
.
get_abs_count
(
etud
.
id
)
nbabsnj
,
nbabsjust
,
nbabs
=
formsemestre
.
get_abs_count
(
etud
.
id
)
abs_dict
[
f
"
Etape
{
i
+
1
}
_ABS
"
]
=
nbabsnj
abs_dict
[
f
"
Etape
{
i
}
_ABS
"
]
=
nbabsnj
return
abs_dict
return
abs_dict
...
@@ -613,7 +613,7 @@ def etapes_du_cursus(
...
@@ -613,7 +613,7 @@ def etapes_du_cursus(
semestres (en version abbrégée)
semestres (en version abbrégée)
qu
'
un étudiant a suivi au cours de sa scolarité à l
'
IUT.
qu
'
un étudiant a suivi au cours de sa scolarité à l
'
IUT.
Les noms des semestres sont renvoyés dans un dictionnaire
Les noms des semestres sont renvoyés dans un dictionnaire
`
`{
"
etape i
"
: nom_semestre_a_etape_i}`
`
`{
"
etape i
"
: nom_semestre_a_etape_i}`
avec i variant jusqu
'
à nbre_semestres_max. (S
'
il n
'
y a pas de semestre à l
'
étape i,
avec i variant jusqu
'
à nbre_semestres_max. (S
'
il n
'
y a pas de semestre à l
'
étape i,
le nom affiché est vide.
le nom affiché est vide.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment