MOBILE-2561 forum: Apply format text on discussion subject
parent
6bd420605e
commit
0c5753b5e9
|
@ -30,7 +30,7 @@
|
||||||
<ion-avatar item-start core-user-link [userId]="discussion.userid" [courseId]="courseId">
|
<ion-avatar item-start core-user-link [userId]="discussion.userid" [courseId]="courseId">
|
||||||
<img [src]="discussion.userpictureurl" onError="this.src='assets/img/user-avatar.png'" core-external-content [alt]="'core.pictureof' | translate:{$a: discussion.userfullname}" role="presentation">
|
<img [src]="discussion.userpictureurl" onError="this.src='assets/img/user-avatar.png'" core-external-content [alt]="'core.pictureof' | translate:{$a: discussion.userfullname}" role="presentation">
|
||||||
</ion-avatar>
|
</ion-avatar>
|
||||||
<h2>{{discussion.subject}}</h2>
|
<h2><core-format-text [text]="discussion.subject"></core-format-text></h2>
|
||||||
<p *ngIf="discussion.userfullname">
|
<p *ngIf="discussion.userfullname">
|
||||||
<ion-note float-right padding-left><ion-icon name="time"></ion-icon> {{ 'core.notsent' | translate }}</ion-note>
|
<ion-note float-right padding-left><ion-icon name="time"></ion-icon> {{ 'core.notsent' | translate }}</ion-note>
|
||||||
{{discussion.userfullname}}
|
{{discussion.userfullname}}
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
<ion-avatar item-start core-user-link [userId]="discussion.userid" [courseId]="courseId">
|
<ion-avatar item-start core-user-link [userId]="discussion.userid" [courseId]="courseId">
|
||||||
<img [src]="discussion.userpictureurl" onError="this.src='assets/img/user-avatar.png'" core-external-content [alt]="'core.pictureof' | translate:{$a: discussion.userfullname}" role="presentation">
|
<img [src]="discussion.userpictureurl" onError="this.src='assets/img/user-avatar.png'" core-external-content [alt]="'core.pictureof' | translate:{$a: discussion.userfullname}" role="presentation">
|
||||||
</ion-avatar>
|
</ion-avatar>
|
||||||
<h2><ion-icon name="pin" *ngIf="discussion.pinned"></ion-icon> {{discussion.subject}}</h2>
|
<h2><ion-icon name="pin" *ngIf="discussion.pinned"></ion-icon> <core-format-text [text]="discussion.subject"></core-format-text></h2>
|
||||||
<p>
|
<p>
|
||||||
<ion-note float-right padding-left>
|
<ion-note float-right padding-left>
|
||||||
{{discussion.created | coreDateDayOrTime}}
|
{{discussion.created | coreDateDayOrTime}}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<ion-avatar item-start (click)="openUserProfile(post.userid)">
|
<ion-avatar item-start (click)="openUserProfile(post.userid)">
|
||||||
<img [src]="post.userpictureurl" onError="this.src='assets/img/user-avatar.png'" core-external-content [alt]="'core.pictureof' | translate:{$a: post.userfullname}" role="presentation">
|
<img [src]="post.userpictureurl" onError="this.src='assets/img/user-avatar.png'" core-external-content [alt]="'core.pictureof' | translate:{$a: post.userfullname}" role="presentation">
|
||||||
</ion-avatar>
|
</ion-avatar>
|
||||||
<h2><span [class.core-bold]="post.parent == 0">{{post.subject}}</span></h2>
|
<h2><span [class.core-bold]="post.parent == 0"><core-format-text [text]="post.subject"></core-format-text></span></h2>
|
||||||
<p>
|
<p>
|
||||||
<ion-note float-right padding-left *ngIf="!post.modified"><ion-icon name="time"></ion-icon> {{ 'core.notsent' | translate }}</ion-note>
|
<ion-note float-right padding-left *ngIf="!post.modified"><ion-icon name="time"></ion-icon> {{ 'core.notsent' | translate }}</ion-note>
|
||||||
<ion-note float-right padding-left *ngIf="post.modified">
|
<ion-note float-right padding-left *ngIf="post.modified">
|
||||||
|
|
Loading…
Reference in New Issue