0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-22 16:02:36 +00:00
salesagility_SuiteCRM/themes/SuiteP/include/Dashlets/DashletHeader.tpl
Isaac Marco Blancas f3dff18172 Fixed #2857 - No dynamic refreshing in dashboard
The reload icon in every was reloading all the dashboard.
Now it reloads just the dashlet requested as in previous versions
2022-02-28 16:53:04 +00:00

32 lines
1.7 KiB
Smarty

<div onmouseover="this.style.cursor = 'move';" id="dashlet_header_{$DASHLET_ID}" class="hd dashlet">
<div class="tl"></div>
<div class="hd-center">
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="formHeader h3Row">
<tr>
<td class="dashlet-title" colspan="2">
<h3>
<span class="suitepicon suitepicon-module-{$DASHLET_MODULE|lower|replace:'_':'-'}"></span>
<span>{$DASHLET_TITLE}</span>
</h3>
</td>
<td style="padding-right: 0px;" nowrap="" width="1%">
<div class="dashletToolSet">
<a href="javascript:void(0)" title="{$DASHLET_BUTTON_ARIA_EDIT}" aria-label="{$DASHLET_BUTTON_ARIA_EDIT}" onclick="SUGAR.mySugar.configureDashlet('{$DASHLET_ID}'); return false;">
<span class="suitepicon suitepicon-action-edit"></span>
</a>
<a href="javascript:void(0)" title="{$DASHLET_BUTTON_ARIA_REFRESH}" aria-label="{$DASHLET_BUTTON_ARIA_REFRESH}" onclick="SUGAR.mySugar.retrieveDashlet('{$DASHLET_ID}'); return false;">
<span class="suitepicon suitepicon-action-reload"></span>
</a>
<a href="javascript:void(0)" title="{$DASHLET_BUTTON_ARIA_DELETE}" aria-label="{$DASHLET_BUTTON_ARIA_DELETE}" onclick="SUGAR.mySugar.deleteDashlet('{$DASHLET_ID}'); return false;">
<span class="suitepicon suitepicon-action-clear"></span>
</a>
</div>
</td>
</tr>
</table>
</div>
<div class="tr"></div>
</div>
<div class="bd">
<div class="ml"></div>
<div class="bd-center">