Change the old HTML code to new HTML Code.
Notes Widget
Current Code:
<div class="item-content">
<div class="minimized-activity" style="min-height: 30px;">
@(Model.EscapeCrmData ?"#: escapedText#" : "#= escapedText#")
</div>
@if (Model.AllowDownloadingAttachments){
<div class="content-meta-data">
#if(attachmentExists) {#
<a title="attachment" href="/PortalConnectorMvc/Services/Data/Notes/Download/${controlDataId}/${id}?filename=#= encodeURIComponent(attachmentFileName) #">
<span class="fa fa-paperclip" aria-hidden="true"></span> ${attachmentFileName}</a>
#}#
</div>
}
</div>
New Code:
<div class="item-content">
<div class="minimized-activity">
<div class="activity-preview tpc-text-ellipsis">
@(Model.EscapeCrmData ? "#: escapedText#" : "#= escapedText#")
</div>
<div class="activity-description hide">
@(Model.EscapeCrmData ? "#: escapedText#" : "#= escapedText#")
</div>
</div>
@if (Model.AllowDownloadingAttachments)
{
<div class="content-meta-data">
#if(attachmentExists) {#
<a title="attachment" href="/PortalConnectorMvc/Services/Data/Notes/Download/${controlDataId}/${id}?filename=#= encodeURIComponent(attachmentFileName) #">
<span class="fa fa-paperclip" aria-hidden="true"></span> ${attachmentFileName}</a>
#}#
</div>
}
</div>
Activity Feed Widget
Change 1:
Old Code:
<div class="item form-row">
New Code:
<div class="item row">
Change 2:
Old Code:
<div class="content-container">
<p>#= subject#</p>
<div class="item-content">
<div class="minimized-activity" style="min-height: 30px;">
#if(descriptionIsHtml){#
#= description#
#}else{#
#= escapedDescription#
#}#
</div>
<div class="content-meta-data">
Modified by <b>#= modifiedBy#</b> on <i>#= modifiedOn#</i>
</div>
</div>
</div>
New Code:
<div class="content-container">
<p><strong>#= subject#</strong></p>
<div class="item-content">
<div class="minimized-activity">
<div class="activity-preview tpc-text-ellipsis">
#= description#
</div>
<div class="activity-description">
#if(descriptionIsHtml){#
#= description#
#}else{#
#= escapedDescription#
#}#
</div>
</div>
<div class="content-meta-data">
Modified by <b>#= modifiedBy#</b> on <i>#= modifiedOn#</i>
</div>
</div>
</div>