Skip to content

Commit

Permalink
add correspondences for Niklaus I Fuss
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijeinath committed Dec 14, 2023
1 parent be8a2fa commit 1eeafa0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/app/biography/biography.component.html
Expand Up @@ -317,6 +317,24 @@ <h2>Biography</h2>
<img src="assets/images/nicolaus-fuss.jpg" alt="portrait of Nicolaus Fuss">
<p>[...]</p>
</section>

<mat-divider></mat-divider>

<section>
<h2>Correspondence</h2>
<p>Correspondence between
<strong>{{correspondences_Niklaus_I_Fuss.mainCorrespondent.name}}</strong> and
<!-- select list to choose the recipient name (among one or several choices) -->
<mat-form-field>
<mat-select placeholder="Select Correspondent">
<mat-option *ngFor="let corr of correspondences_Niklaus_I_Fuss.correspondences" [value]="corr.correspondent2.name"
(click)="searchForCorrespondence(corr.correspondent1.gnd, corr.correspondent2.gnd)">
{{corr.correspondent2.name}}
</mat-option>
</mat-select>
</mat-form-field>
</p>
</section>
</ng-container>

<!-- in case the name does not exist -->
Expand Down
5 changes: 5 additions & 0 deletions src/app/biography/biography.component.ts
Expand Up @@ -85,6 +85,7 @@ export class BiographyComponent implements OnInit, OnDestroy{
correspondences_Jacob_Hermann: CorrespondenceGroupWithSection;
correspondences_Leonhard_Euler: CorrespondenceGroup;
correspondences_Johann_Albrecht_Euler: CorrespondenceGroup;
correspondences_Niklaus_I_Fuss: CorrespondenceGroup;
correspondences_Condorcet: CorrespondenceGroupWithSection;

constructor(
Expand Down Expand Up @@ -455,6 +456,10 @@ export class BiographyComponent implements OnInit, OnDestroy{
new Correspondence(Johann_Albrecht_Euler, Christian_Goldbach)
]);

this.correspondences_Niklaus_I_Fuss = new CorrespondenceGroup(FussNI, [
new Correspondence(FussNI, Condorcet)
])

this.correspondences_Condorcet = new CorrespondenceGroupWithSection(Condorcet, [
new Section('Condorcet', [
new Correspondence(Condorcet, Leonhard_Euler),
Expand Down

0 comments on commit 1eeafa0

Please sign in to comment.