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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul-louis Gomis
SCODOC_R6A06
Commits
c7dc6934
Commit
c7dc6934
authored
3 months ago
by
Emmanuel Viennet
Browse files
Options
Downloads
Patches
Plain Diff
typos. Pas de modif. de fonctionnement.
parent
952d2e2b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/formations/edit_ue.py
+1
-1
1 addition, 1 deletion
app/formations/edit_ue.py
app/models/ues.py
+1
-1
1 addition, 1 deletion
app/models/ues.py
app/scodoc/sco_edit_apc.py
+0
-1
0 additions, 1 deletion
app/scodoc/sco_edit_apc.py
with
2 additions
and
3 deletions
app/formations/edit_ue.py
+
1
−
1
View file @
c7dc6934
...
@@ -681,7 +681,7 @@ def ue_table(formation_id=None, semestre_idx=1, msg=""):
...
@@ -681,7 +681,7 @@ def ue_table(formation_id=None, semestre_idx=1, msg=""):
has_perm_change
=
current_user
.
has_permission
(
Permission
.
EditFormation
)
has_perm_change
=
current_user
.
has_permission
(
Permission
.
EditFormation
)
# editable = (not locked) and has_perm_change
# editable = (not locked) and has_perm_change
# On autorise maintenant la modification des formations qui ont
# On autorise maintenant la modification des formations qui ont
# des semestres verrouillés, sauf si cela affect les notes passées
# des semestres verrouillés, sauf si cela affect
e
les notes passées
# (verrouillées):
# (verrouillées):
# - pas de modif des modules utilisés dans des semestres verrouillés
# - pas de modif des modules utilisés dans des semestres verrouillés
# - pas de changement des codes d'UE utilisés dans des semestres verrouillés
# - pas de changement des codes d'UE utilisés dans des semestres verrouillés
...
...
This diff is collapsed.
Click to expand it.
app/models/ues.py
+
1
−
1
View file @
c7dc6934
...
@@ -224,7 +224,7 @@ class UniteEns(models.ScoDocModel):
...
@@ -224,7 +224,7 @@ class UniteEns(models.ScoDocModel):
ue_id
=
self
.
id
ue_id
=
self
.
id
).
count
()
).
count
()
if
nb_validations
>
0
:
if
nb_validations
>
0
:
return
True
,
f
"
avec
{
nb_validations
}
validations de jury
"
return
True
,
f
"
non modifiable (
{
nb_validations
}
validations de jury
)
"
return
False
,
""
return
False
,
""
...
...
This diff is collapsed.
Click to expand it.
app/scodoc/sco_edit_apc.py
+
0
−
1
View file @
c7dc6934
...
@@ -106,7 +106,6 @@ def html_edit_formation_apc(
...
@@ -106,7 +106,6 @@ def html_edit_formation_apc(
)
)
for
semestre_idx
in
semestre_ids
for
semestre_idx
in
semestre_ids
}
}
H
=
[
H
=
[
render_template
(
render_template
(
"
pn/form_ues.j2
"
,
"
pn/form_ues.j2
"
,
...
...
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