Changes in src/Clients/Angular/finki-chattery/src/app/shared-app/components/question/question-preview/question-preview.component.html [c205cc4:59d860c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Clients/Angular/finki-chattery/src/app/shared-app/components/question/question-preview/question-preview.component.html
rc205cc4 r59d860c 1 1 <div *ngIf="!working"> 2 <mat-card appHoverElevation class="margin-bottom-xl"> 3 <mat-card-title>{{ question.title }}</mat-card-title> 4 <mat-card-subtitle 5 [innerHTML]=" 6 'question-preview-subtitle' 7 | translate 8 : { 9 createdOn: question.createdOn | momentDate: 'LLLL', 10 lastActive: question.lastActiveOn | momentDate: 'LLLL', 11 views: question.views 12 } 13 " 14 ></mat-card-subtitle> 15 <mat-card-content> 16 <mat-chip-list> 17 <mat-chip *ngFor="let category of question.categories"> 18 {{ category.name }} 19 </mat-chip> 20 </mat-chip-list> 21 22 <editor 23 class="margin-x-sm" 24 [init]="{ 25 apiKey: 'fx28x0d64jeufa35u7mcd80fgveayg5c4ap9gnr6posehzny', 26 menubar: false, 27 plugins: ['autoresize'], 28 toolbar: '' 29 }" 30 [disabled]="true" 31 [initialValue]="question.text" 32 ></editor> 33 <div class="align-right"> 34 <app-student-card 35 [indexNumber]="question.student.index" 36 [imageUrl]="question.student.imageUrl" 37 [uid]="question.student.uid" 38 [reputation]="question.student.reputation" 39 [subtitle]="'question-asked-by-subtitle' | translate: { date: question.createdOn | momentDate: 'LL' }" 40 ></app-student-card> 41 </div> 42 </mat-card-content> 43 <mat-card-actions> 44 <app-button appShareLink [buttonType]="ButtonType.Basic">{{ 'share-link' | translate }}</app-button> 45 </mat-card-actions> 46 </mat-card> 2 <div class="margin-bottom-xl"> 3 <app-preview-question-full [question]="question"></app-preview-question-full> 4 </div> 47 5 48 6 <h1 class="mat-headline">{{ 'question-answers' | translate: { answerCount: question.answers.length } }}</h1> … … 58 16 <app-vote [voteCount]="answer.upvotesCount" [correct]="answer.correctAnswer" fxFlex="6%"></app-vote> 59 17 <div fxFlex="92%"> 60 <editor 61 class="margin-x-sm" 62 [init]="{ 63 apiKey: 'fx28x0d64jeufa35u7mcd80fgveayg5c4ap9gnr6posehzny', 18 <app-text-editor 19 [text]="answer.text" 20 [configuration]="{ 64 21 menubar: false, 65 22 plugins: ['autoresize'], 66 23 toolbar: '' 67 24 }" 68 [disabled]="true" 69 [initialValue]="answer.text" 70 ></editor> 25 [readonly]="true" 26 ></app-text-editor> 71 27 <div class="align-right"> 72 28 <app-student-card
Note:
See TracChangeset
for help on using the changeset viewer.