Skip to content

Commit 59e3b8a

Browse files
author
Gabriele Panico
committed
changed: images/ with /img in assets folder
1 parent bb1af79 commit 59e3b8a

File tree

108 files changed

+77
-77
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+77
-77
lines changed

src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,13 @@
205205
// overflow-x: hidden;
206206
// }
207207
// .c21-ico-schedule {
208-
// background-image: url("src/assets/images/f21ico-schedule.svg");
208+
// background-image: url("src/assets/img/f21ico-schedule.svg");
209209
// }
210210
// .c21-ico-done {
211-
// background-image: url("src/assets/images/f21ico-done.svg");
211+
// background-image: url("src/assets/img/f21ico-done.svg");
212212
// }
213213
// .c21-ico-done_all {
214-
// background-image: url("src/assets/images/f21ico-done_all.svg");
214+
// background-image: url("src/assets/img/f21ico-done_all.svg");
215215
// }
216216
// }
217217

src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class ConversationContentComponent implements OnInit {
5858
MESSAGE_TYPE_OTHERS = MESSAGE_TYPE_OTHERS;
5959
// ========== end:: check message type functions ======= //
6060

61-
urlBOTImage = 'https://s3.eu-west-1.amazonaws.com/tiledesk-widget/dev/2.0.4-beta.7/assets/images/avatar_bot_tiledesk.svg'
61+
urlBOTImage = 'https://s3.eu-west-1.amazonaws.com/tiledesk-widget/dev/2.0.4-beta.7/assets/img/avatar_bot_tiledesk.svg'
6262
uploadProgress: number;
6363
showUploadProgress: boolean = false;
6464
fileType: string;

src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
<ng-container *ngIf="isCopilotEnabled">
185185
<ion-button shape="round" size="small" class="btn-info-msg btn-copilot" ion-button fill="clear"
186186
(click)="onClickOptionsCopilot(message, i)">
187-
<ion-icon id="copilot" src="assets/images/icons/copilot.svg"></ion-icon>
187+
<ion-icon id="copilot" src="assets/img/icons/copilot.svg"></ion-icon>
188188
</ion-button>
189189
</ng-container>
190190

src/app/chatlib/conversation-detail/message/avatar/avatar.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="c21-icon-avatar">
22
<div class="c21-avatar-image profile_image">
3-
<!-- <img src="getUrlImgProfile(message.sender) {{getUrlImgProfile(message.sender)}}" onError="this.src = 'https://s3.eu-west-1.amazonaws.com/tiledesk-widget/v2/assets/images/line_avatar_male_tiledesk.svg'" /> -->
3+
<!-- <img src="getUrlImgProfile(message.sender) {{getUrlImgProfile(message.sender)}}" onError="this.src = 'https://s3.eu-west-1.amazonaws.com/tiledesk-widget/v2/assets/img/line_avatar_male_tiledesk.svg'" /> -->
44
<!-- <img [src]="url" (error)="onBotImgError($event)" /> -->
55
<img *ngIf="senderID?.indexOf('bot_') !== -1 || senderFullname === 'Bot'" [src]="url" (error)="onBotImgError($event)" (load)="onLoadedBot($event)"/>
66
<!-- is a HUMAN -->

src/app/chatlib/conversation-detail/message/avatar/avatar.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ export class AvatarComponent implements OnInit {
1717
if(this.senderID){
1818
this.url = this.imageRepoService.getImagePhotoUrl(this.senderID)
1919
if(!this.url && (this.senderID.indexOf('bot_') !== -1 || this.senderFullname === 'Bot')){
20-
this.url = this.baseLocation +'/assets/images/avatar_bot_tiledesk.svg'
20+
this.url = this.baseLocation +'/assets/img/avatar_bot_tiledesk.svg'
2121
}else if(!this.url && this.senderID.indexOf('bot_') == -1){
22-
this.url = this.baseLocation +'/assets/images/light_avatar_placeholder.svg'
22+
this.url = this.baseLocation +'/assets/img/light_avatar_placeholder.svg'
2323
}
2424
}
2525
}
2626

2727
onBotImgError(event){
28-
event.target.src = this.baseLocation +'/assets/images/avatar_bot_tiledesk.svg'
28+
event.target.src = this.baseLocation +'/assets/img/avatar_bot_tiledesk.svg'
2929
}
3030
onHumanImgError(event) {
31-
event.target.src = this.baseLocation + "/assets/images/light_avatar_placeholder.svg"
31+
event.target.src = this.baseLocation + "/assets/img/light_avatar_placeholder.svg"
3232
}
3333

3434
onLoadedBot(event){

src/app/chatlib/conversation-detail/message/return-receipt/return-receipt.component.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
}
1717

1818
.c21-ico-schedule {
19-
background-image: url("/src/assets/images/f21ico-schedule.svg");
19+
background-image: url("/src/assets/img/f21ico-schedule.svg");
2020
}
2121
.c21-ico-done {
22-
background-image: url("/src/assets/images/f21ico-done.svg");
22+
background-image: url("/src/assets/img/f21ico-done.svg");
2323
}
2424
.c21-ico-done_all {
25-
background-image: url("/src/assets/images/f21ico-done_all.svg");
25+
background-image: url("/src/assets/img/f21ico-done_all.svg");
2626
}
2727
}

src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,23 +96,23 @@
9696
<div class="conversation_project truncate">
9797
<!-- DIRECT CONV -->
9898
<div *ngIf="conversation.channel_type === CHANNEL_TYPE.DIRECT">
99-
<img class="channel-icon" src="assets/images/channel_icons/direct.svg">
99+
<img class="channel-icon" src="assets/img/channel_icons/direct.svg">
100100
<span class="truncate">{{translationsMap.get('DIRECT_CHAT')}}</span>
101101
</div>
102102
<!-- GROUP CONV -->
103103
<div *ngIf="conversation.uid.startsWith(CHANNEL_TYPE.GROUP)">
104-
<img class="channel-icon" src="assets/images/channel_icons/group.svg">
104+
<img class="channel-icon" src="assets/img/channel_icons/group.svg">
105105
<span class="truncate">{{translationsMap.get('GROUP_CHAT')}}</span>
106106
</div>
107107
<!-- SUPPORT-GROUP CONV -->
108108
<div *ngIf="conversation.uid.startsWith(CHANNEL_TYPE.SUPPORT_GROUP) && !IS_ON_MOBILE_DEVICE">
109-
<img class="channel-icon" src="assets/images/channel_icons/chat21.svg" *ngIf="conversation?.attributes && ( (conversation?.attributes?.request_channel && conversation?.attributes?.request_channel === CHANNEL_TYPE.CHAT21) || !conversation?.attributes?.request_channel) " >
110-
<img class="channel-icon" src="assets/images/channel_icons/email-logo.svg" *ngIf="conversation?.attributes && conversation?.attributes?.request_channel && conversation?.attributes?.request_channel === CHANNEL_TYPE.EMAIL" >
111-
<img class="channel-icon" src="assets/images/channel_icons/form-logo_v2.svg" *ngIf="conversation?.attributes && conversation?.attributes?.request_channel && conversation?.attributes?.request_channel === CHANNEL_TYPE.FORM" >
112-
<img class="channel-icon" src="assets/images/channel_icons/messenger-logo.svg" *ngIf="conversation?.attributes && conversation?.attributes?.request_channel && conversation?.attributes?.request_channel === CHANNEL_TYPE.MESSENGER" >
113-
<img class="channel-icon" src="assets/images/channel_icons/whatsapp-logo.svg" *ngIf="conversation?.attributes && conversation?.attributes?.request_channel && conversation?.attributes?.request_channel === CHANNEL_TYPE.WHATSAPP" >
114-
<img class="channel-icon" src="assets/images/channel_icons/telegram-logo.svg" *ngIf="conversation?.attributes && conversation?.attributes?.request_channel && conversation?.attributes?.request_channel === CHANNEL_TYPE.TELEGRAM" >
115-
<img class="channel-icon" src="assets/images/channel_icons/voice.svg" *ngIf="conversation?.attributes && conversation?.attributes?.request_channel && conversation?.attributes?.request_channel.startsWith(CHANNEL_TYPE.VOICE)" >
109+
<img class="channel-icon" src="assets/img/channel_icons/chat21.svg" *ngIf="conversation?.attributes && ( (conversation?.attributes?.request_channel && conversation?.attributes?.request_channel === CHANNEL_TYPE.CHAT21) || !conversation?.attributes?.request_channel) " >
110+
<img class="channel-icon" src="assets/img/channel_icons/email-logo.svg" *ngIf="conversation?.attributes && conversation?.attributes?.request_channel && conversation?.attributes?.request_channel === CHANNEL_TYPE.EMAIL" >
111+
<img class="channel-icon" src="assets/img/channel_icons/form-logo_v2.svg" *ngIf="conversation?.attributes && conversation?.attributes?.request_channel && conversation?.attributes?.request_channel === CHANNEL_TYPE.FORM" >
112+
<img class="channel-icon" src="assets/img/channel_icons/messenger-logo.svg" *ngIf="conversation?.attributes && conversation?.attributes?.request_channel && conversation?.attributes?.request_channel === CHANNEL_TYPE.MESSENGER" >
113+
<img class="channel-icon" src="assets/img/channel_icons/whatsapp-logo.svg" *ngIf="conversation?.attributes && conversation?.attributes?.request_channel && conversation?.attributes?.request_channel === CHANNEL_TYPE.WHATSAPP" >
114+
<img class="channel-icon" src="assets/img/channel_icons/telegram-logo.svg" *ngIf="conversation?.attributes && conversation?.attributes?.request_channel && conversation?.attributes?.request_channel === CHANNEL_TYPE.TELEGRAM" >
115+
<img class="channel-icon" src="assets/img/channel_icons/voice.svg" *ngIf="conversation?.attributes && conversation?.attributes?.request_channel && conversation?.attributes?.request_channel.startsWith(CHANNEL_TYPE.VOICE)" >
116116
<span *ngIf="conversation?.attributes?.project_name" class="truncate">{{conversation?.attributes?.project_name}}</span>
117117
<span *ngIf="!conversation?.attributes?.project_name" class="truncate">{{conversation?.attributes?.projectId}}</span>
118118
</div>

src/app/components/bubbleMessageInfo-popover/bubbleinfo-popover.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<ion-label>{{translationsMap?.get('AddAsCannedResponse')}}</ion-label>
1010
</ion-item>
1111
<ion-item button="true" *ngIf="logLevel >= LogLevel.DEBUG" (click)="onClickOption('jsonInfo')">
12-
<ion-icon src="assets/images/json-file.svg" slot="start"></ion-icon>
12+
<ion-icon src="assets/img/json-file.svg" slot="start"></ion-icon>
1313
<ion-label>{{translationsMap?.get('JSON_RESPONSE')}}</ion-label>
1414
</ion-item>
1515
</ion-list>

src/app/components/canned-response/canned-response.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<ion-input [class.readonly]="canned?.disabled" [readonly]="canned?.disabled" type="text" [(ngModel)]="canned.title" class="title" id="{{'titleCanned_'+canned._id}}" #title></ion-input>
99
<ion-input [class.readonly]="canned?.disabled" [readonly]="canned?.disabled" type="text" [(ngModel)]="canned.text" class="text truncate"></ion-input>
1010
</div>
11-
<!-- <ion-icon class="canned-item-icon" name="pin" src="assets/images/pin.svg" slot=end *ngIf="canned.pinned" (click)="onPinCanned(canned, $event)"></ion-icon>
12-
<ion-icon class="canned-item-icon" name="pin" src="assets/images/pinned.svg" slot=end (click)="onUnPinCanned(canned, $event)"></ion-icon> -->
11+
<!-- <ion-icon class="canned-item-icon" name="pin" src="assets/img/pin.svg" slot=end *ngIf="canned.pinned" (click)="onPinCanned(canned, $event)"></ion-icon>
12+
<ion-icon class="canned-item-icon" name="pin" src="assets/img/pinned.svg" slot=end (click)="onUnPinCanned(canned, $event)"></ion-icon> -->
1313
<ion-icon class="canned-item-icon" name="checkmark-sharp" slot=end *ngIf="canned.createdBy === loggedUser.uid && !canned.disabled" (click)="onConfirmEditCanned(canned, $event)"></ion-icon>
1414
<ion-icon class="canned-item-icon" name="pencil-sharp" slot=end *ngIf="canned.createdBy === loggedUser.uid && canned.disabled" (click)="onEditCanned(canned, $event)"></ion-icon>
1515
<ion-icon class="canned-item-icon" name="trash-bin-outline" slot=end *ngIf="canned.createdBy === loggedUser.uid" (click)="onDeleteCanned(canned, $event)"></ion-icon>

src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
</div>
4848
<!-- SUPPORT-GROUP CONV -->
4949
<div *ngIf="conversationUid?.startsWith(CHANNEL_TYPE.SUPPORT_GROUP) && !IS_ON_MOBILE_DEVICE">
50-
<img class="channel-icon" src="assets/images/channel_icons/chat21.svg" *ngIf="( (conversationAvatar?.request_channel && conversationAvatar?.request_channel === CHANNEL_TYPE.CHAT21) || !conversationAvatar?.request_channel) " >
51-
<img class="channel-icon" src="assets/images/channel_icons/email-logo.svg" *ngIf="conversationAvatar?.request_channel && conversationAvatar?.request_channel === CHANNEL_TYPE.EMAIL" >
52-
<img class="channel-icon" src="assets/images/channel_icons/form-logo_v2.svg" *ngIf="conversationAvatar?.request_channel && conversationAvatar?.request_channel === CHANNEL_TYPE.FORM" >
53-
<img class="channel-icon" src="assets/images/channel_icons/messenger-logo.svg" *ngIf="conversationAvatar?.request_channel && conversationAvatar?.request_channel === CHANNEL_TYPE.MESSENGER" >
54-
<img class="channel-icon" src="assets/images/channel_icons/whatsapp-logo.svg" *ngIf="conversationAvatar?.request_channel && conversationAvatar?.request_channel === CHANNEL_TYPE.WHATSAPP" >
55-
<img class="channel-icon" src="assets/images/channel_icons/telegram-logo.svg" *ngIf="conversationAvatar?.request_channel && conversationAvatar?.request_channel === CHANNEL_TYPE.TELEGRAM" >
56-
<img class="channel-icon" src="assets/images/channel_icons/voice.svg" *ngIf="conversationAvatar?.request_channel && conversationAvatar?.request_channel.startsWith(CHANNEL_TYPE.VOICE)" >
50+
<img class="channel-icon" src="assets/img/channel_icons/chat21.svg" *ngIf="( (conversationAvatar?.request_channel && conversationAvatar?.request_channel === CHANNEL_TYPE.CHAT21) || !conversationAvatar?.request_channel) " >
51+
<img class="channel-icon" src="assets/img/channel_icons/email-logo.svg" *ngIf="conversationAvatar?.request_channel && conversationAvatar?.request_channel === CHANNEL_TYPE.EMAIL" >
52+
<img class="channel-icon" src="assets/img/channel_icons/form-logo_v2.svg" *ngIf="conversationAvatar?.request_channel && conversationAvatar?.request_channel === CHANNEL_TYPE.FORM" >
53+
<img class="channel-icon" src="assets/img/channel_icons/messenger-logo.svg" *ngIf="conversationAvatar?.request_channel && conversationAvatar?.request_channel === CHANNEL_TYPE.MESSENGER" >
54+
<img class="channel-icon" src="assets/img/channel_icons/whatsapp-logo.svg" *ngIf="conversationAvatar?.request_channel && conversationAvatar?.request_channel === CHANNEL_TYPE.WHATSAPP" >
55+
<img class="channel-icon" src="assets/img/channel_icons/telegram-logo.svg" *ngIf="conversationAvatar?.request_channel && conversationAvatar?.request_channel === CHANNEL_TYPE.TELEGRAM" >
56+
<img class="channel-icon" src="assets/img/channel_icons/voice.svg" *ngIf="conversationAvatar?.request_channel && conversationAvatar?.request_channel.startsWith(CHANNEL_TYPE.VOICE)" >
5757
<span *ngIf="conversationAvatar?.project_name" class="truncate">{{conversationAvatar?.project_name}}</span>
5858
<span *ngIf="!conversationAvatar?.project_name" class="truncate">{{conversationAvatar?.projectId}}</span>
5959
</div>
@@ -65,7 +65,7 @@
6565
<!-- COPILOT-OPTION -->
6666
<div *ngIf="isCopilotEnabled" class="copilot-container" id="copilot">
6767
<ion-button id="copilot" fill="clear" (click)="onOpenSection('copilot')">
68-
<ion-icon class="channel-icon" src="assets/images/icons/copilot.svg"></ion-icon>
68+
<ion-icon class="channel-icon" src="assets/img/icons/copilot.svg"></ion-icon>
6969
{{translationsMap?.get('COPILOT.SOLVE_WITH_AI')}}
7070
</ion-button>
7171
</div>

0 commit comments

Comments
 (0)