Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduling-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
SMASCH
scheduling-system
Merge requests
!229
Feature/provenance
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Feature/provenance
feature/provenance
into
master
Overview
10
Commits
22
Pipelines
8
Changes
26
All threads resolved!
Hide all comments
Merged
Carlos Vega
requested to merge
feature/provenance
into
master
5 years ago
Overview
10
Commits
22
Pipelines
8
Changes
1
All threads resolved!
Hide all comments
Expand
Test missing but code can be checked
Edited
4 years ago
by
Piotr Gawron
0
0
Merge request reports
Compare
version 7
version 7
db8bc0d0
4 years ago
version 6
1fe34491
5 years ago
version 5
49f2aca1
5 years ago
version 4
9957abef
5 years ago
version 3
4104c91b
5 years ago
version 2
519a1d4e
5 years ago
version 1
5bfd3c71
5 years ago
master (base)
and
latest version
latest version
e5933929
22 commits,
4 years ago
version 7
db8bc0d0
21 commits,
4 years ago
version 6
1fe34491
20 commits,
5 years ago
version 5
49f2aca1
15 commits,
5 years ago
version 4
9957abef
13 commits,
5 years ago
version 3
4104c91b
12 commits,
5 years ago
version 2
519a1d4e
11 commits,
5 years ago
version 1
5bfd3c71
10 commits,
5 years ago
Show latest version
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
smash/web/views/subject.py
+
2
−
2
Options
@@ -100,7 +100,7 @@ def subject_edit(request, id):
p
=
Provenance
(
modified_table
=
Subject
.
_meta
.
db_table
,
modified_table_id
=
study_subject
.
subject
.
id
,
modification_author
=
worker
,
previous_value
=
study_subject
.
subject
.
dead
,
previous_value
=
was_
dead
,
new_value
=
True
,
modification_description
=
'
Worker
"
{}
"
marks subject
"
{}
"
as dead
'
.
format
(
worker
,
study_subject
.
subject
),
modified_field
=
'
dead
'
,
@@ -112,7 +112,7 @@ def subject_edit(request, id):
p
=
Provenance
(
modified_table
=
StudySubject
.
_meta
.
db_table
,
modified_table_id
=
study_subject
.
id
,
modification_author
=
worker
,
previous_value
=
study_subject
.
resigned
,
previous_value
=
was_
resigned
,
new_value
=
True
,
modification_description
=
'
Worker
"
{}
"
marks study subject
"
{}
"
as resigned from study
"
{}
"'
.
format
(
worker
,
study_subject
.
nd_number
,
study_subject
.
study
),
modified_field
=
'
resigned
'
,
Loading