1212
1313 < div right class ="right ">
1414 < div class ="section ">
15- < div class ="rl-header sm "> {{ event.name }}</ div >
15+ < div class ="rl-header sm "> {{ event.description }}</ div >
1616 < div class ="markdown ">
17- < div [innerHTML] ="dataService.processMDHTML(event.description | markdown) "> </ div >
17+ < div [innerHTML] ="dataService.processMDHTML(event.longdescription | markdown) "> </ div >
1818 </ div >
1919 < ng-container *ngTemplateOutlet ="achievements "> </ ng-container >
2020 </ div >
8787 < div [innerHTML] ="dataService.processMDHTML(event.longdescription | markdown) "> </ div >
8888 </ div >
8989 < ng-container *ngIf ="dataService.canViewMaxContent() ">
90- < button mat-raised-button color ="primary " (click) ="openVerifyEmailPopup() ">
91- Verify Email
92- </ button >
90+ < ng-container *ngIf ="event.email_rejected; else emailStatus ">
91+ < button mat-raised-button class ="rejected-button " disabled >
92+ Event Rejected
93+ </ button >
94+ </ ng-container >
95+ < ng-template #emailStatus >
96+ < ng-container *ngIf ="event.email_verified; else verifyEmailButton ">
97+ < button mat-raised-button class ="approved-button " disabled >
98+ Event Approved
99+ </ button >
100+ </ ng-container >
101+ < ng-template #verifyEmailButton >
102+ < button mat-raised-button color ="primary " (click) ="openVerifyEmailPopup() ">
103+ Verify Email
104+ </ button >
105+ </ ng-template >
106+ </ ng-template >
107+
93108 </ ng-container >
94109 </ ng-container >
95110 < ng-container *ngIf ="!desktopMode ">
120135
121136< ng-container *ngIf ="showVerifyEmailPopup ">
122137 < div class ="verify-email-popup ">
123- < div class ="description markdown ">
138+ < button mat-icon-button class ="close-button " (click) ="showVerifyEmailPopup = false ">
139+ < mat-icon > close</ mat-icon >
140+ </ button >
141+ < div class ="description markdown scrollable-content ">
142+ < div [innerHTML] ="dataService.processMDHTML(event.description | markdown) "> </ div >
124143 < div [innerHTML] ="dataService.processMDHTML(event.longdescription | markdown) "> </ div >
125144 </ div >
126- < button mat-button (click) ="approveEmail() "> Approve</ button >
127- < button mat-button (click) ="rejectEmail() "> Reject</ button >
145+ < div class ="popup-actions ">
146+ < button mat-button color ="primary " (click) ="approveEmail() "> Approve</ button >
147+ < button mat-button color ="warn " (click) ="rejectEmail() "> Reject</ button >
148+ </ div >
128149 </ div >
129150</ ng-container >
0 commit comments