uploaded files
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
|
||||
<div class="text">
|
||||
<ion-label class="bold_text">{{item.msg_firstname}}-{{item.msg_date |date}}</ion-label>
|
||||
<ion-label class="grey_text">{{item.message}}</ion-label>
|
||||
<ion-label *ngIf="item.msg_type != 'FILE' " class="grey_text">{{item.message}}</ion-label>
|
||||
<ion-label *ngIf="item.msg_type == 'FILE' " class="grey_text"><a href="{{session_image_server}}/{{curr_session}}/contracts/{{item.msg_uid}}">{{item.message}}</a></ion-label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -9,7 +9,8 @@ import {WrenchService} from "../../services/wrench.service";
|
||||
})
|
||||
export class TaskactivitiesComponent implements OnInit {
|
||||
@Input('jobData') jobData:any;
|
||||
|
||||
session_image_server:string='';
|
||||
curr_session:string="";
|
||||
constructor(
|
||||
public sessionDataProviderService: SessionDataProviderService,
|
||||
private wrenchService: WrenchService
|
||||
@@ -21,6 +22,9 @@ export class TaskactivitiesComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.session_image_server = this.sessionDataProviderService.session_image_server;
|
||||
this.curr_session = this.sessionDataProviderService.session;
|
||||
|
||||
console.log("IN COMPO ACT", this.jobData);
|
||||
this.activeJobMsgList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user