Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
AoU-Portal
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
Container 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
AoU
AoU-Portal
Merge requests
!619
fix(deposit): hide doctor email and address inputs if thesis is before 2010 or author before unige
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix(deposit): hide doctor email and address inputs if thesis is before 2010 or author before unige
fpo/hide-doctor-info-if-year-before-2010
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Florent Poittevin
requested to merge
fpo/hide-doctor-info-if-year-before-2010
into
master
9 months ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
version 2
e3a88f97
9 months ago
version 1
ee0b4166
9 months ago
master (base)
and
latest version
latest version
01098817
1 commit,
9 months ago
version 2
e3a88f97
1 commit,
9 months ago
version 1
ee0b4166
1 commit,
9 months ago
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/app/features/deposit/components/presentationals/deposit-form-first-step-type/deposit-form-first-step-type.presentational.ts
+
2
−
2
Options
@@ -362,9 +362,9 @@ export class DepositFormFirstStepTypePresentational extends DepositAbstractFormP
}
get
isThesisBefore2010OrAuthorBeforeUnige
():
boolean
{
const
date
=
this
.
f
ormGroup
.
get
(
this
.
formDefinitionDateThesis
.
date
)?.
value
;
const
date
=
this
.
mainF
ormGroup
.
get
(
this
.
formDefinitionDateThesis
.
date
)?.
value
;
const
isDateBefore2010
=
DepositFormRuleHelper
.
isDateBefore2010
(
date
);
const
isAuthorBeforeUnige
=
DepositFormRuleHelper
.
isAuthorBeforeUnige
(
this
.
f
ormGroup
);
const
isAuthorBeforeUnige
=
DepositFormRuleHelper
.
isAuthorBeforeUnige
(
this
.
mainF
ormGroup
);
return
isTrue
(
isDateBefore2010
)
||
isTrue
(
isAuthorBeforeUnige
);
}
}
Loading