PATH:
home
/
letacommog
/
crmleta
/
layouts
/
vlayout
/
modules
/
Vtiger
/
dashboards
{*<!-- /********************************************************************************* ** 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. * ********************************************************************************/ -->*} <div class="dashboardWidgetHeader"> <table width="100%" cellspacing="0" cellpadding="0"> <thead> <tr> <th class="span4"> <div class="dashboardTitle" title="{vtranslate($WIDGET->getTitle(), $MODULE_NAME)}"><b> {vtranslate($WIDGET->getTitle())}</b></div> </th> <th class="span2"> <div> <select class="widgetFilter" name="type" style='width:100px;margin-bottom:0px'> <option value="{$CURRENTUSER->getId()}">{vtranslate('LBL_MINE')}</option> <option value="all">{vtranslate('LBL_ALL')}</option> </select> </div> </th> <th class="refresh span1" align="right"> <span style="position:relative;"></span> </th> <th class="widgeticons span5" align="right"> {include file="dashboards/DashboardHeaderIcons.tpl"|@vtemplate_path:$MODULE_NAME} </th> </tr> </thead> </table> </div> <div name="history" class="dashboardWidgetContent"> {include file="dashboards/CalendarActivitiesContents.tpl"|@vtemplate_path:$MODULE_NAME WIDGET=$WIDGET} </div> <script type='text/javascript'> $(document).ready(function(){ jQuery('.dashboardWidgetContent').off('click', 'a[name="history_more"]'); jQuery('.dashboardWidgetContent').on('click', 'a[name="history_more"]', function(e) { var element = jQuery(e.currentTarget); var parent = jQuery(e.delegateTarget).closest('.dashboardWidget'); jQuery(parent).find('.slimScrollDiv').css('overflow','visible'); var type = parent.find("[name='type']").val(); var url = element.data('url')+'&content=true&type='+type; AppConnector.request(url).then(function(data) { jQuery(parent).find('.dashboardWidgetContent').append(data); element.parent().remove(); }); }); }); </script>
[+]
..
[-] TagCloudContents.tpl
[edit]
[-] DashboardHeaderIcons.tpl
[edit]
[-] Notebook.tpl
[edit]
[-] TagCloud.tpl
[edit]
[-] History.tpl
[edit]
[-] DashBoardPostProcess.tpl
[edit]
[-] KeyMetrics.tpl
[edit]
[-] DashBoardPreProcess.tpl
[edit]
[-] HistoryContents.tpl
[edit]
[-] MiniList.tpl
[edit]
[-] DashBoardWidgetContents.tpl
[edit]
[-] AddNotePad.tpl
[edit]
[-] DashBoardContents.tpl
[edit]
[-] KeyMetricsContents.tpl
[edit]
[-] CalendarActivitiesContents.tpl
[edit]
[-] CalendarActivities.tpl
[edit]
[-] MiniListWizard.tpl
[edit]
[-] NotebookContents.tpl
[edit]
[-] DashBoardHeader.tpl
[edit]
[-] MiniListContents.tpl
[edit]
[-] WidgetHeader.tpl
[edit]