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
Paul Milleville
SCODOC_R6A06
Commits
90aa6234
Commit
90aa6234
authored
2 years ago
by
Emmanuel Viennet
Browse files
Options
Downloads
Patches
Plain Diff
Lien navigation sur jury BUT sem. impair
parent
797686cf
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/but/jury_but_recap.py
+4
-4
4 additions, 4 deletions
app/but/jury_but_recap.py
app/comp/res_common.py
+4
-0
4 additions, 0 deletions
app/comp/res_common.py
app/static/js/table_recap.js
+2
-2
2 additions, 2 deletions
app/static/js/table_recap.js
with
10 additions
and
6 deletions
app/but/jury_but_recap.py
+
4
−
4
View file @
90aa6234
...
@@ -284,6 +284,10 @@ class RowCollector:
...
@@ -284,6 +284,10 @@ class RowCollector:
self
[
"
_nom_disp_order
"
]
=
etud
.
sort_key
self
[
"
_nom_disp_order
"
]
=
etud
.
sort_key
self
.
add_cell
(
"
prenom
"
,
"
Prénom
"
,
etud
.
prenom
,
"
identite_detail
"
)
self
.
add_cell
(
"
prenom
"
,
"
Prénom
"
,
etud
.
prenom
,
"
identite_detail
"
)
self
.
add_cell
(
"
nom_short
"
,
"
Nom
"
,
etud
.
nom_short
,
"
identite_court
"
)
self
.
add_cell
(
"
nom_short
"
,
"
Nom
"
,
etud
.
nom_short
,
"
identite_court
"
)
self
[
"
_nom_short_data
"
]
=
{
"
etudid
"
:
etud
.
id
,
"
nomprenom
"
:
etud
.
nomprenom
,
}
if
with_links
:
if
with_links
:
self
[
"
_nom_short_order
"
]
=
etud
.
sort_key
self
[
"
_nom_short_order
"
]
=
etud
.
sort_key
self
[
"
_nom_short_target
"
]
=
url_for
(
self
[
"
_nom_short_target
"
]
=
url_for
(
...
@@ -368,10 +372,6 @@ class RowCollector:
...
@@ -368,10 +372,6 @@ class RowCollector:
+
((
"
"
+
scu
.
EMO_WARNING
)
if
deca
.
nb_rcues_under_8
>
0
else
""
),
+
((
"
"
+
scu
.
EMO_WARNING
)
if
deca
.
nb_rcues_under_8
>
0
else
""
),
"
col_rcue col_rcues_validables
"
+
klass
,
"
col_rcue col_rcues_validables
"
+
klass
,
)
)
self
[
"
_rcues_validables_data
"
]
=
{
"
etudid
"
:
deca
.
etud
.
id
,
"
nomprenom
"
:
deca
.
etud
.
nomprenom
,
}
if
len
(
deca
.
rcues_annee
)
>
0
:
if
len
(
deca
.
rcues_annee
)
>
0
:
# permet un tri par nb de niveaux validables + moyenne gen indicative S_pair
# permet un tri par nb de niveaux validables + moyenne gen indicative S_pair
if
deca
.
res_pair
and
deca
.
etud
.
id
in
deca
.
res_pair
.
etud_moy_gen
:
if
deca
.
res_pair
and
deca
.
etud
.
id
in
deca
.
res_pair
.
etud_moy_gen
:
...
...
This diff is collapsed.
Click to expand it.
app/comp/res_common.py
+
4
−
0
View file @
90aa6234
...
@@ -543,6 +543,10 @@ class ResultatsSemestre(ResultatsCache):
...
@@ -543,6 +543,10 @@ class ResultatsSemestre(ResultatsCache):
formsemestre_id
=
self
.
formsemestre
.
id
,
formsemestre_id
=
self
.
formsemestre
.
id
,
etudid
=
etudid
,
etudid
=
etudid
,
)
)
row
[
"
_nom_short_data
"
]
=
{
"
etudid
"
:
etud
.
id
,
"
nomprenom
"
:
etud
.
nomprenom
,
}
row
[
"
_nom_short_target_attrs
"
]
=
f
'
class=
"
etudinfo
"
id=
"
{
etudid
}
"'
row
[
"
_nom_short_target_attrs
"
]
=
f
'
class=
"
etudinfo
"
id=
"
{
etudid
}
"'
row
[
"
_nom_disp_target
"
]
=
row
[
"
_nom_short_target
"
]
row
[
"
_nom_disp_target
"
]
=
row
[
"
_nom_short_target
"
]
row
[
"
_nom_disp_target_attrs
"
]
=
row
[
"
_nom_short_target_attrs
"
]
row
[
"
_nom_disp_target_attrs
"
]
=
row
[
"
_nom_short_target_attrs
"
]
...
...
This diff is collapsed.
Click to expand it.
app/static/js/table_recap.js
+
2
−
2
View file @
90aa6234
...
@@ -219,11 +219,11 @@ $(function () {
...
@@ -219,11 +219,11 @@ $(function () {
localStorage
.
setItem
(
order_info_key
,
order_info
);
localStorage
.
setItem
(
order_info_key
,
order_info
);
}
}
let
etudids
=
[];
let
etudids
=
[];
document
.
querySelectorAll
(
"
td.
col_rcues_validables
"
).
forEach
(
e
=>
{
document
.
querySelectorAll
(
"
td.
identite_court
"
).
forEach
(
e
=>
{
etudids
.
push
(
e
.
dataset
.
etudid
);
etudids
.
push
(
e
.
dataset
.
etudid
);
});
});
let
noms
=
[];
let
noms
=
[];
document
.
querySelectorAll
(
"
td.
col_rcues_validables
"
).
forEach
(
e
=>
{
document
.
querySelectorAll
(
"
td.
identite_court
"
).
forEach
(
e
=>
{
noms
.
push
(
e
.
dataset
.
nomprenom
);
noms
.
push
(
e
.
dataset
.
nomprenom
);
});
});
const
etudids_key
=
JSON
.
stringify
([
"
etudids
"
,
url
.
origin
,
formsemestre_id
]);
const
etudids_key
=
JSON
.
stringify
([
"
etudids
"
,
url
.
origin
,
formsemestre_id
]);
...
...
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