EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
email received no expand in notification
Yuri Kuznetsovccc4d9574af3
diff --git a/client/res/templates/stream/notes/email-received.tpl b/client/res/templates/stream/notes/email-received.tplindex 90c44bbd48..15f4f93e72 100644--- a/client/res/templates/stream/notes/email-received.tpl+++ b/client/res/templates/stream/notes/email-received.tpl@@ -17,11 +17,13 @@data-id="{{emailId}}"data-scope="Email"></span><span class="message text-muted">{{{message}}}</span>- <a- role="button"- tabindex="0"- data-action="expandDetails"- ><span class="fas {{#if detailsIsShown}} fa-chevron-up {{else}} fa-chevron-down {{/if}} "></span></a>+ {{#if hasExpand}}+ <a+ role="button"+ tabindex="0"+ data-action="expandDetails"+ ><span class="fas {{#if detailsIsShown}} fa-chevron-up {{else}} fa-chevron-down {{/if}} "></span></a>+ {{/if}}</div></div>diff --git a/client/src/views/stream/notes/email-received.js b/client/src/views/stream/notes/email-received.jsindex 0f594079b0..9322b39e75 100644--- a/client/src/views/stream/notes/email-received.js+++ b/client/src/views/stream/notes/email-received.js@@ -94,6 +94,7 @@ class EmailReceivedNoteStreamView extends NoteStreamView {isPinned: this.isThis && this.model.get('isPinned') && this.model.collection &&!this.model.collection.pinnedList,detailsIsShown: this.detailsIsShown,+ hasExpand: !this.options.isNotification,};}