diff --git a/src/app/shared/components/member-card/member-card.component.ts b/src/app/shared/components/member-card/member-card.component.ts index e5d3d84c6f9828c7085459e18eccab1c4f4db13f..4e8926204d41360d41d5e19ba1c6c8df18959dc2 100644 --- a/src/app/shared/components/member-card/member-card.component.ts +++ b/src/app/shared/components/member-card/member-card.component.ts @@ -10,25 +10,25 @@ import { User, UserAnnuary } from '../../../models/user.model'; styleUrls: ['./member-card.component.scss'], }) export class MemberCardComponent implements OnInit { - // The user info to display + /** The user info to display */ @Input({ required: true }) public member: User | Owner | UserAnnuary; - // If true, shows the RDV icon if available + /** If true, shows the RDV icon if available */ @Input() public showAppointment = false; - // If true, shows the contact info (phone + email), if provided + /** If true, shows the contact info (phone + email), if provided */ @Input() public showContactInfo = true; - // If true, shows the employer + /** If true, shows the employer */ @Input() public showEmployer = true; - // If true, click event redirects to profile + /** If true, click event redirects to profile */ @Input() public redirectToProfile = true; - // If true, shows a radio button to select the card, disables the redirection to profile + /** If true, shows a radio button to select the card, disables the redirection to profile */ @Input() public showRadioButton = false; - // If true, checks the radioButton + /** If true, checks the radioButton */ @Input() public isChecked = false; @Output() public selectedCard = new EventEmitter<string>(); diff --git a/src/app/structure-list/components/card/card.component.ts b/src/app/structure-list/components/card/card.component.ts index 14f0f98c7def682061541bfe68fd8139e42d9207..e45a2779c788fea517e64dbf2c84a8dce8a4d0fe 100644 --- a/src/app/structure-list/components/card/card.component.ts +++ b/src/app/structure-list/components/card/card.component.ts @@ -9,23 +9,23 @@ import { ProfileService } from '../../../profile/services/profile.service'; styleUrls: ['./card.component.scss'], }) export class CardComponent implements OnInit { - // The structure element to display + /** The structure element to display */ @Input() public structure: Structure; - // If true, click event redirects to profile + /** If true, click event redirects to profile */ @Input() public redirectToStructure = true; - // If true, shows a radio button to select the card, disables the redirection to structure + /** If true, shows a radio button to select the card, disables the redirection to structure */ @Input() public showRadioButton = false; - // If true, checks the radioButton + /** If true, checks the radioButton */ @Input() public isChecked = false; - // If true, the form comes from the orientation + /** If true, the form comes from the orientation */ @Input() public isOrientation = false; - // If in orientation, when we add to list, the card becomes selected + /** If in orientation, when we add to list, the card becomes selected */ @Input() public isSelected = false; - // If true, the form comes from the orientation and will propose to reserve an appointment + /** If true, the form comes from the orientation and will propose to reserve an appointment */ @Input() public isOrientationRdv = false; @Output() public showDetails = new EventEmitter<Structure>();