Files
CRM/layouts/v7/modules/Vtiger/dashboards/DashBoardWidgetContents.tpl
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

28 lines
1.2 KiB
Smarty

{*<!--
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*
********************************************************************************/
-->*}
{strip}
{if count($DATA) gt 0 }
<input class="widgetData" type=hidden value='{Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($DATA))}' />
<input class="yAxisFieldType" type="hidden" value="{$YAXIS_FIELD_TYPE}" />
<div class="row" style="margin:0px 10px;">
<div class="col-lg-11">
<div class="widgetChartContainer" name='chartcontent' style="height:220px;min-width:300px; margin: 0 auto"></div>
<br>
</div>
<div class="col-lg-1"></div>
</div>
{else}
<span class="noDataMsg">
{vtranslate('LBL_NO')} {vtranslate($MODULE_NAME, $MODULE_NAME)} {vtranslate('LBL_MATCHED_THIS_CRITERIA')}
</span>
{/if}
{/strip}