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
19373c10
Commit
19373c10
authored
10 months ago
by
ilona
Browse files
Options
Downloads
Patches
Plain Diff
Améliore PV de jury. Closes #994
parent
9ae21819
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/scodoc/sco_pv_forms.py
+22
-3
22 additions, 3 deletions
app/scodoc/sco_pv_forms.py
app/scodoc/sco_pv_pdf.py
+10
-1
10 additions, 1 deletion
app/scodoc/sco_pv_pdf.py
sco_version.py
+1
-1
1 addition, 1 deletion
sco_version.py
with
33 additions
and
5 deletions
app/scodoc/sco_pv_forms.py
+
22
−
3
View file @
19373c10
...
...
@@ -443,12 +443,13 @@ def formsemestre_pvjury_pdf(formsemestre_id, etudid=None):
formsemestre
,
etudids
,
numero_arrete
=
tf
[
2
][
"
numero_arrete
"
],
code_vdi
=
tf
[
2
][
"
code_vdi
"
],
code_vdi
=
f
"""
{
tf
[
2
][
"
code_vdi
"
]
}
{
tf
[
2
][
"
code_diplome
"
]
}
"""
,
date_commission
=
tf
[
2
][
"
date_commission
"
],
date_jury
=
tf
[
2
][
"
date_jury
"
],
show_title
=
tf
[
2
][
"
show_title
"
],
pv_title_session
=
tf
[
2
][
"
pv_title_session
"
],
pv_title
=
tf
[
2
][
"
pv_title
"
],
pv_subtitle
=
tf
[
2
][
"
pv_subtitle
"
],
with_paragraph_nom
=
tf
[
2
][
"
with_paragraph_nom
"
],
anonymous
=
tf
[
2
][
"
anonymous
"
],
)
...
...
@@ -499,8 +500,17 @@ def descrform_pvjury(formsemestre: FormSemestre):
{
"
input_type
"
:
"
text
"
,
"
size
"
:
15
,
"
title
"
:
"
VDI et Code
"
,
"
explanation
"
:
"
VDI et code du diplôme Apogée (format libre, n
'
est pas vérifié par ScoDoc)
"
,
"
title
"
:
"
Version et code étape
"
,
"
explanation
"
:
"
VDI et étape Apogée (format libre, n
'
est pas vérifié par ScoDoc)
"
,
},
),
(
"
code_diplome
"
,
{
"
input_type
"
:
"
text
"
,
"
size
"
:
15
,
"
title
"
:
"
Version et code diplôme
"
,
"
explanation
"
:
"
format libre, sera écrit à la suite du code étape ci-dessus
"
,
},
),
(
...
...
@@ -523,6 +533,15 @@ def descrform_pvjury(formsemestre: FormSemestre):
"
default
"
:
f_dict
[
"
titre_officiel
"
],
},
),
(
"
pv_subtitle
"
,
{
"
input_type
"
:
"
text
"
,
"
size
"
:
90
,
"
title
"
:
"
Sous-titre
"
,
"
explanation
"
:
"
optionnel, placé sous le titre du PV
"
,
},
),
(
"
show_title
"
,
{
...
...
This diff is collapsed.
Click to expand it.
app/scodoc/sco_pv_pdf.py
+
10
−
1
View file @
19373c10
...
...
@@ -65,6 +65,7 @@ def pvjury_pdf(
code_vdi
=
None
,
show_title
=
False
,
pv_title
=
None
,
pv_subtitle
=
None
,
pv_title_session
=
None
,
with_paragraph_nom
=
False
,
anonymous
=
False
,
...
...
@@ -83,6 +84,7 @@ def pvjury_pdf(
show_title
=
show_title
,
pv_title_session
=
pv_title_session
,
pv_title
=
pv_title
,
pv_subtitle
=
pv_subtitle
,
with_paragraph_nom
=
with_paragraph_nom
,
anonymous
=
anonymous
,
)
...
...
@@ -170,6 +172,7 @@ def _pvjury_pdf_type(
code_vdi
=
None
,
show_title
=
False
,
pv_title
=
None
,
pv_subtitle
=
None
,
pv_title_session
=
None
,
anonymous
=
False
,
with_paragraph_nom
=
False
,
...
...
@@ -206,6 +209,11 @@ def _pvjury_pdf_type(
f
"""
<para align=
"
center
"
><b><i>
{
titre_diplome
}
</i></b></para>
"""
,
style
,
)
if
pv_subtitle
:
objects
+=
sco_pdf
.
make_paras
(
f
"""
<para align=
"
center
"
><b><i>
{
pv_subtitle
}
</i></b></para>
"""
,
style
,
)
if
show_title
:
objects
+=
sco_pdf
.
make_paras
(
...
...
@@ -214,7 +222,8 @@ def _pvjury_pdf_type(
)
if
sco_preferences
.
get_preference
(
"
PV_TITLE_WITH_VDI
"
,
formsemestre
.
id
):
objects
+=
sco_pdf
.
make_paras
(
f
"""
<para align=
"
center
"
>VDI et Code:
{
(
code_vdi
or
""
)
}
</para>
"""
,
style
f
"""
<para align=
"
center
"
>Code:
{
code_vdi
or
""
}
</para>
"""
,
style
,
)
if
date_jury
:
...
...
This diff is collapsed.
Click to expand it.
sco_version.py
+
1
−
1
View file @
19373c10
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION
=
"
9.7.2
2
"
SCOVERSION
=
"
9.7.2
3
"
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