Skip to content

Commit

Permalink
refs #40870. Enable user preference in Email ,EventInfo, Contribution…
Browse files Browse the repository at this point in the history
…Page and mailingEditor sidePanel
  • Loading branch information
poliphilochu committed Jul 5, 2024
1 parent 04b587c commit 543ee3c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/CRM/Contact/Form/Task/Email.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -165,5 +165,5 @@ cj( 'ul.token-input-list-facebook, div.token-input-dropdown-facebook' ).css( 'wi
<div class="nme-setting-panels-trigger" data-tooltip data-tooltip-placement="w"><i
class="zmdi zmdi-settings"></i></div>
</div>
{include file="CRM/common/sidePanel.tpl" type="inline" contentSelector="#nme-setting-panels-content" containerClass="nme-setting-panels" opened="true" triggerText="AI Copywriter" width="500px" fullscreen="true" triggerIcon="packages/AICompletion/images/icon--magic--white.svg"}
{include file="CRM/common/sidePanel.tpl" type="inline" contentSelector="#nme-setting-panels-content" containerClass="nme-setting-panels" opened="true" userPreference="true" triggerText="AI Copywriter" width="500px" fullscreen="true" triggerIcon="packages/AICompletion/images/icon--magic--white.svg"}
{/if}
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
<div class="nme-setting-panels-trigger" data-tooltip data-tooltip-placement="w"><i
class="zmdi zmdi-settings"></i></div>
</div>
{include file="CRM/common/sidePanel.tpl" type="inline" contentSelector="#nme-setting-panels-content" containerClass="nme-setting-panels" opened="true" triggerText="AI Copywriter" width="500px" fullscreen="true" triggerIcon="packages/AICompletion/images/icon--magic--white.svg"}
{include file="CRM/common/sidePanel.tpl" type="inline" contentSelector="#nme-setting-panels-content" containerClass="nme-setting-panels" opened="true" userPreference="true" triggerText="AI Copywriter" width="500px" fullscreen="true" triggerIcon="packages/AICompletion/images/icon--magic--white.svg"}
{/if}

{/if}{* end cdtype *}
2 changes: 1 addition & 1 deletion templates/CRM/Event/Form/ManageEvent/EventInfo.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,5 @@ function reloadWindow( tempId ) {
<div class="nme-setting-panels-trigger" data-tooltip data-tooltip-placement="w"><i
class="zmdi zmdi-settings"></i></div>
</div>
{include file="CRM/common/sidePanel.tpl" type="inline" contentSelector="#nme-setting-panels-content" containerClass="nme-setting-panels" opened="true" triggerText="AI Copywriter" width="500px" fullscreen="true" triggerIcon="packages/AICompletion/images/icon--magic--white.svg"}
{include file="CRM/common/sidePanel.tpl" type="inline" contentSelector="#nme-setting-panels-content" containerClass="nme-setting-panels" opened="true" userPreference="true" triggerText="AI Copywriter" width="500px" fullscreen="true" triggerIcon="packages/AICompletion/images/icon--magic--white.svg"}
{/if}
2 changes: 1 addition & 1 deletion templates/CRM/common/mailingEditor.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ window.nmEditor = {
</div>
<!-- mailingEditor HTML end -->

{include file="CRM/common/sidePanel.tpl" type="inline" headerSelector="#nme-setting-panels-header" contentSelector="#nme-setting-panels-content" footerSelector="#nme-setting-panels-footer" containerClass="nme-setting-panels" opened="true" triggerText="Mailing Advanced Settings" width="500px" fullscreen="true"}
{include file="CRM/common/sidePanel.tpl" type="inline" headerSelector="#nme-setting-panels-header" contentSelector="#nme-setting-panels-content" footerSelector="#nme-setting-panels-footer" containerClass="nme-setting-panels" opened="true" userPreference="true" triggerText="Mailing Advanced Settings" width="500px" fullscreen="true"}
{js src=packages/mailingEditor/mailingEditor.js group=999 weight=998 library=civicrm/civicrm-js-mailingeditor}{/js}
{literal}
<script type="text/javascript">
Expand Down

0 comments on commit 543ee3c

Please sign in to comment.