first commit
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
{*<!--
|
||||
/*+**********************************************************************************
|
||||
* Advanced Funnel Charts by SalesPlatform
|
||||
* Copyright (C) 2011-2016 SalesPlatform Ltd
|
||||
* All Rights Reserved.
|
||||
* This extension is licensed to be used within one instance of Vtiger CRM.
|
||||
* Source code or binaries may not be redistributed unless expressly permitted by SalesPlatform Ltd.
|
||||
* If you have any questions or comments, please email: extensions@salesplatform.ru
|
||||
************************************************************************************/
|
||||
-->*}
|
||||
|
||||
|
||||
{foreach key=index item=cssModel from=$STYLES}
|
||||
<link rel="{$cssModel->getRel()}" href="{$cssModel->getHref()}" type="{$cssModel->getType()}" media="{$cssModel->getMedia()}" />
|
||||
{/foreach}
|
||||
{foreach key=index item=jsModel from=$SCRIPTS}
|
||||
<script type="{$jsModel->getType()}" src="{$jsModel->getSrc()}"></script>
|
||||
{/foreach}
|
||||
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="30%">
|
||||
<div class="dashboardTitle textOverflowEllipsis" style="max-width: 7em;" title="{vtranslate($WIDGET->getTitle(), $MODULE_NAME)}"><b>{vtranslate($WIDGET->getTitle(), $MODULE_NAME)}</b></div>
|
||||
</td>
|
||||
<td width="60%">
|
||||
<b>{vtranslate('LBL_ASSIGNED_USER', $MODULE_NAME)}</b>
|
||||
<select class="widgetFilter" id="assigned_user_id" name="assigned_user_id" style="width:170px; margin-bottom:0px">
|
||||
<option value="{$DEFAULT_ASSIGNED_USER_FILTER}" selected>{vtranslate('LBL_ALL')}</option>
|
||||
<option value="{$CURRENTUSER->getId()}" >{vtranslate('LBL_MINE')}</option>
|
||||
{assign var=ALL_ACTIVEUSER_LIST value=$CURRENTUSER->getAccessibleUsers()}
|
||||
{if count($ALL_ACTIVEUSER_LIST) gt 1}
|
||||
<optgroup label="{vtranslate('LBL_USERS')}">
|
||||
{foreach key=OWNER_ID item=OWNER_NAME from=$ALL_ACTIVEUSER_LIST}
|
||||
{if $OWNER_ID neq {$CURRENTUSER->getId()}}
|
||||
<option value="{$OWNER_ID}">{$OWNER_NAME}</option>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</optgroup>
|
||||
{/if}
|
||||
{assign var=ALL_ACTIVEGROUP_LIST value=$CURRENTUSER->getAccessibleGroups()}
|
||||
{if !empty($ALL_ACTIVEGROUP_LIST)}
|
||||
<optgroup label="{vtranslate('LBL_GROUPS')}">
|
||||
{foreach key=OWNER_ID item=OWNER_NAME from=$ALL_ACTIVEGROUP_LIST}
|
||||
<option value="{$OWNER_ID}">{$OWNER_NAME}</option>
|
||||
{/foreach}
|
||||
</optgroup>
|
||||
{/if}
|
||||
</select>
|
||||
</td>
|
||||
<td class="widgeticons" width="10%" align="right">
|
||||
<div class="box pull-right">
|
||||
{include file="dashboards/DashboardHeaderIcons.tpl"|@vtemplate_path:$MODULE_NAME}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="refresh" colspan="4" style="position: absolute; margin-top: 100px; z-index: 1; text-align: center; width: 100%;">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user