Changeset 7e7cc4c for src/Clients
- Timestamp:
- 11/04/21 22:46:29 (3 years ago)
- Branches:
- dev
- Children:
- 48f727d, 74ad056
- Parents:
- cbdbb49
- Location:
- src/Clients/Angular/finki-chattery/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Clients/Angular/finki-chattery/src/app/app.module.ts
rcbdbb49 r7e7cc4c 15 15 declarations: [AppComponent, AuthCallbackComponent], 16 16 imports: [ 17 AppRoutingModule, 17 18 BrowserModule, 18 AppRoutingModule,19 19 CoreModule, 20 20 BrowserAnimationsModule, -
src/Clients/Angular/finki-chattery/src/app/core/interceptors/loader.interceptor.ts
rcbdbb49 r7e7cc4c 13 13 14 14 intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>> { 15 this.loader.appIsLoading(); 16 return next.handle(request).pipe(finalize(() => this.loader.appStopedLoading())); 15 setTimeout(() => { 16 this.loader.appIsLoading(); 17 }, 0); 18 return next.handle(request).pipe( 19 finalize(() => 20 setTimeout(() => { 21 this.loader.appStopedLoading(); 22 }, 100) 23 ) 24 ); 17 25 } 18 26 } -
src/Clients/Angular/finki-chattery/src/app/shared-app/components/generic/header/header.component.html
rcbdbb49 r7e7cc4c 16 16 'header-ask-question' | translate 17 17 }}</app-button> 18 <app-button [matMenuTriggerFor]="menu" class="margin-y-xs" *ngIf="auth.isLoggedIn()" [buttonType]="ButtonType.Basic">{{ 19 'header-student-questions' | translate 20 }}</app-button> 18 21 <app-button class="margin-y-xs" *ngIf="auth.isLoggedIn()" (action)="logout()" [buttonType]="ButtonType.Basic">{{ 19 22 'header-logout' | translate … … 24 27 </mat-toolbar-row> 25 28 </mat-toolbar> 29 30 <mat-menu #menu="matMenu"> 31 <button (click)="goToQuestion(q.questionUid)" mat-menu-item *ngFor="let q of auth.selfUser?.student?.questions"> 32 <mat-icon>question_answer</mat-icon> 33 <span>{{ q?.title }}</span> 34 </button> 35 </mat-menu> -
src/Clients/Angular/finki-chattery/src/app/shared-app/components/generic/header/header.component.ts
rcbdbb49 r7e7cc4c 29 29 } 30 30 } 31 32 goToQuestion(questionUid: string): void { 33 this.router.navigateByUrl(`questioning/${questionUid}`); 34 } 31 35 } -
src/Clients/Angular/finki-chattery/src/app/shared-app/components/generic/text-editor/text-editor.component.html
rcbdbb49 r7e7cc4c 4 4 matInput 5 5 [init]="configuration" 6 [ disabled]="readonly"6 [attr.disabled]="readonly" 7 7 [initialValue]="text" 8 8 [formControl]="textForm" -
src/Clients/Angular/finki-chattery/src/assets/translations/en.json
rcbdbb49 r7e7cc4c 62 62 "close-button": "Close", 63 63 "submit-button": "Submit", 64 "header-student-questions": "Your questions", 64 65 "AnswerAlreadyUpvoted": "You have already upvoted this answer", 65 66 "AnswerAlreadyDownvoted": "You have already downvoted this answer",
Note:
See TracChangeset
for help on using the changeset viewer.