@@ -102,7 +102,7 @@ <h2>{{ 'project.contributors.curatorInfo.heading' | translate }}</h2>
102
102
</ p >
103
103
</ td >
104
104
< td >
105
- @if (isCurrentUserAdminContributor()) {
105
+ @if (isCurrentUserAdminContributor() && !contributor.deactivated ) {
106
106
< div class ="w-9rem ">
107
107
< osf-select
108
108
[options] ="permissionsOptions "
@@ -134,7 +134,7 @@ <h2>{{ 'project.contributors.curatorInfo.heading' | translate }}</h2>
134
134
binary ="true "
135
135
[(ngModel)] ="contributor.isBibliographic "
136
136
[ariaLabel] ="'project.contributors.table.headers.contributor' | translate "
137
- [readonly ] ="!isCurrentUserAdminContributor() "
137
+ [disabled ] ="!isCurrentUserAdminContributor() || contributor.deactivated "
138
138
> </ p-checkbox >
139
139
</ div >
140
140
</ td >
@@ -154,14 +154,13 @@ <h2>{{ 'project.contributors.curatorInfo.heading' | translate }}</h2>
154
154
@if (showEmployment()) {
155
155
< td >
156
156
@if (contributor.employment?.length) {
157
- < a
158
- class ="font-bold cursor-pointer "
159
- tabindex ="0 "
160
- (click) ="openEmploymentHistory(contributor) "
157
+ < p-button
158
+ link
159
+ class ="link-btn-no-padding "
160
+ [label] ="'project.contributors.employment.show' | translate "
161
+ (onClick) ="openEmploymentHistory(contributor) "
161
162
(keydown.enter) ="openEmploymentHistory(contributor) "
162
- >
163
- {{ 'project.contributors.employment.show' | translate }}
164
- </ a >
163
+ />
165
164
} @else {
166
165
< span > {{ 'project.contributors.employment.none' | translate }}</ span >
167
166
}
@@ -171,14 +170,13 @@ <h2>{{ 'project.contributors.curatorInfo.heading' | translate }}</h2>
171
170
< td >
172
171
< div class ="flex column-gap-2 ">
173
172
@if (contributor.education?.length) {
174
- < a
175
- class ="font-bold cursor-pointer "
176
- tabindex ="0 "
177
- (click) ="openEducationHistory(contributor) "
173
+ < p-button
174
+ link
175
+ class ="link-btn-no-padding "
176
+ [label] ="'project.contributors.education.show' | translate "
177
+ (onClick) ="openEducationHistory(contributor) "
178
178
(keydown.enter) ="openEducationHistory(contributor) "
179
- >
180
- {{ 'project.contributors.education.show' | translate }}
181
- </ a >
179
+ />
182
180
} @else {
183
181
< span > {{ 'project.contributors.education.none' | translate }}</ span >
184
182
}
0 commit comments