Skip to content

Commit

Permalink
Merge pull request #12 from doxman13/tagteam_dialog
Browse files Browse the repository at this point in the history
Update content mail template
  • Loading branch information
dongmx-vn authored Dec 5, 2022
2 parents 57d6489 + f3d587c commit 92d5d24
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions tagteams/content_scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,7 @@ function tagTeamTDCXLoad() {
//Format date
_panel.querySelector('[data-infocase="local_format_meeting_time"]').innerText = new Date(_datatemp.meeting_time).toLocaleDateString('en-GB')


// section google meet
if(_object.customer_gmeet) {
_panel.querySelector('[data-infocase="linkgooglemeet_section"]').innerHTML = `Truy cập link google cuộc họp <a href="${_object.customer_gmeet}" >tại đây</a> Hoặc qua: <a href="${_object.customer_gmeet}" >${_object.customer_gmeet}</a>`;
Expand Down Expand Up @@ -784,6 +785,10 @@ function tagTeamTDCXLoad() {
loadInfoCaseInnerTextElm(_panel, 'customer_adsid_format', reformatAdsId(_datatemp.customer_adsid));
}

// Remove new line tasks - nowrap
// console.log(_datatemp.tasks);
loadInfoCaseInnerTextElm(_panel, 'tasks_nowrap', _datatemp.tasks.trim().replace("\n", ", "));


// STEP 3: Load condition to script reading
_panel.querySelector('._panel__script');
Expand Down
14 changes: 7 additions & 7 deletions tagteams/groups/vi_panel_div.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 92d5d24

Please sign in to comment.