Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DLCM
UI
DLCM-Portal
Commits
ae95288d
Commit
ae95288d
authored
Mar 23, 2020
by
Florent POITTEVIN
Browse files
feat: 1098 add link on person form to contributor page
parent
5fede748
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/app/features/admin/person/components/presentationals/admin-person-form/admin-person-form.presentational.html
View file @
ae95288d
...
...
@@ -47,6 +47,12 @@
(navigate)=
"navigateToInstitution($event)"
>
</dlcm-shared-multi-select>
<button
dlcmAlternativeButton
(click)=
"navigateToContributor()"
>
{{'admin.person.form.button.navigateToContributorPage' | translate}}
</button>
</div>
<div
class=
"right-part"
>
...
...
src/app/features/admin/person/components/presentationals/admin-person-form/admin-person-form.presentational.ts
View file @
ae95288d
...
...
@@ -94,6 +94,10 @@ export class AdminPersonFormPresentational extends SharedAbstractFormPresentatio
navigateToInstitution
(
institution
:
Institution
):
void
{
this
.
navigate
([
RoutesEnum
.
adminInstitutionDetail
,
institution
.
resId
]);
}
navigateToContributor
():
void
{
this
.
navigate
([
RoutesEnum
.
contributorDetail
,
this
.
model
.
resId
]);
}
}
class
FormComponentFormDefinition
extends
BaseFormDefinition
{
...
...
src/assets/i18n/de.json
View file @
ae95288d
...
...
@@ -546,6 +546,9 @@
}
},
"form"
:
{
"button"
:
{
"navigateToContributorPage"
:
"See deposits"
},
"firstName"
:
"First Name"
,
"institution"
:
{
"navigateLinkPlaceholder"
:
"See institution's details"
,
...
...
src/assets/i18n/en.json
View file @
ae95288d
...
...
@@ -546,6 +546,9 @@
}
},
"form"
:
{
"button"
:
{
"navigateToContributorPage"
:
"See deposits"
},
"firstName"
:
"First Name"
,
"institution"
:
{
"navigateLinkPlaceholder"
:
"See institution's details"
,
...
...
src/assets/i18n/fr.json
View file @
ae95288d
...
...
@@ -546,6 +546,9 @@
}
},
"form"
:
{
"button"
:
{
"navigateToContributorPage"
:
"Voir les dépôts"
},
"firstName"
:
"Prénom"
,
"institution"
:
{
"navigateLinkPlaceholder"
:
"Voir le détail de l'organisme de financement'"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment