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
da472668
Commit
da472668
authored
10 months ago
by
ilona
Browse files
Options
Downloads
Patches
Plain Diff
WIP: reorganisation code formations
parent
a9fd1296
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
app/formations/__init__.py
+1
-0
1 addition, 0 deletions
app/formations/__init__.py
app/formations/formation_recap.py
+1
-1
1 addition, 1 deletion
app/formations/formation_recap.py
app/views/notes.py
+3
-3
3 additions, 3 deletions
app/views/notes.py
sco_version.py
+1
-1
1 addition, 1 deletion
sco_version.py
with
6 additions
and
5 deletions
app/formations/__init__.py
0 → 100644
+
1
−
0
View file @
da472668
# Fonctions et vues sur les formations ScoDoc
This diff is collapsed.
Click to expand it.
app/
scodoc/sco_
formation_recap.py
→
app/
formations/
formation_recap.py
+
1
−
1
View file @
da472668
...
@@ -180,7 +180,7 @@ def formation_table_recap(formation: Formation, fmt="html") -> Response:
...
@@ -180,7 +180,7 @@ def formation_table_recap(formation: Formation, fmt="html") -> Response:
def
export_recap_formations_annee_scolaire
(
annee_scolaire
):
def
export_recap_formations_annee_scolaire
(
annee_scolaire
):
"""
Exporte un zip des recap (excel) des formatons de tous les semestres
"""
Exporte un zip des recap (excel) des format
i
ons de tous les semestres
de l
'
année scolaire indiquée.
de l
'
année scolaire indiquée.
"""
"""
annee_scolaire
=
int
(
annee_scolaire
)
annee_scolaire
=
int
(
annee_scolaire
)
...
...
This diff is collapsed.
Click to expand it.
app/views/notes.py
+
3
−
3
View file @
da472668
...
@@ -110,7 +110,6 @@ from app.scodoc import (
...
@@ -110,7 +110,6 @@ from app.scodoc import (
sco_evaluation_recap
,
sco_evaluation_recap
,
sco_export_results
,
sco_export_results
,
sco_formations
,
sco_formations
,
sco_formation_recap
,
sco_formation_versions
,
sco_formation_versions
,
sco_formsemestre
,
sco_formsemestre
,
sco_formsemestre_custommenu
,
sco_formsemestre_custommenu
,
...
@@ -142,6 +141,7 @@ from app.scodoc import (
...
@@ -142,6 +141,7 @@ from app.scodoc import (
sco_undo_notes
,
sco_undo_notes
,
sco_users
,
sco_users
,
)
)
from
app.formations
import
formation_recap
from
app.scodoc.gen_tables
import
GenTable
from
app.scodoc.gen_tables
import
GenTable
from
app.scodoc.sco_permissions
import
Permission
from
app.scodoc.sco_permissions
import
Permission
from
app.scodoc.TrivialFormulator
import
TrivialFormulator
from
app.scodoc.TrivialFormulator
import
TrivialFormulator
...
@@ -552,12 +552,12 @@ def formation_table_recap(formation_id: int):
...
@@ -552,12 +552,12 @@ def formation_table_recap(formation_id: int):
"
Tableau récap. de la formation
"
"
Tableau récap. de la formation
"
formation
=
Formation
.
get_formation
(
formation_id
)
formation
=
Formation
.
get_formation
(
formation_id
)
fmt
=
request
.
args
.
get
(
"
fmt
"
,
"
html
"
)
fmt
=
request
.
args
.
get
(
"
fmt
"
,
"
html
"
)
return
sco_
formation_recap
.
formation_table_recap
(
formation
,
fmt
=
fmt
)
return
formation_recap
.
formation_table_recap
(
formation
,
fmt
=
fmt
)
sco_publish
(
sco_publish
(
"
/export_recap_formations_annee_scolaire
"
,
"
/export_recap_formations_annee_scolaire
"
,
sco_
formation_recap
.
export_recap_formations_annee_scolaire
,
formation_recap
.
export_recap_formations_annee_scolaire
,
Permission
.
ScoView
,
Permission
.
ScoView
,
)
)
sco_publish
(
sco_publish
(
...
...
This diff is collapsed.
Click to expand it.
sco_version.py
+
1
−
1
View file @
da472668
# -*- mode: python -*-
# -*- mode: python -*-
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
SCOVERSION
=
"
9.7.2
7
"
SCOVERSION
=
"
9.7.2
8
"
SCONAME
=
"
ScoDoc
"
SCONAME
=
"
ScoDoc
"
...
...
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