[Vtigercrm-commits] [Vtiger development] #7989: Project - SummaryViewWidgets.tpl
Vtiger development
vtiger-tickets at trac.vtiger.com
Fri Mar 21 09:07:18 GMT 2014
#7989: Project - SummaryViewWidgets.tpl
----------------------------+------------------------
Reporter: opensaas | Owner: developer
Type: Need More Info | Status: new
Priority: unassigned | Milestone: Unassigned
Component: vtigercrm | Version: 6.0.0
Severity: Medium | Keywords:
----------------------------+------------------------
In layout/vlayouts/module/Project/ there is file SummaryViewWidgets.tpl.
On a beginning file in this code:
{foreach item=DETAIL_VIEW_WIDGET
from=$DETAILVIEW_LINKS['DETAILVIEWWIDGET']}
{if ($DETAIL_VIEW_WIDGET->getLabel() eq 'Documents') }
{assign var=DOCUMENT_WIDGET_MODEL
value=$DETAIL_VIEW_WIDGET}
{elseif ($DETAIL_VIEW_WIDGET->getLabel() eq 'LBL_MILESTONES')}
{assign var=MILESTONE_WIDGET_MODEL
value=$DETAIL_VIEW_WIDGET}
{elseif ($DETAIL_VIEW_WIDGET->getLabel() eq 'HelpDesk')}
{assign var=HELPDESK_WIDGET_MODEL
value=$DETAIL_VIEW_WIDGET}
{elseif ($DETAIL_VIEW_WIDGET->getLabel() eq 'LBL_TASKS')}
{assign var=TASKS_WIDGET_MODEL value=$DETAIL_VIEW_WIDGET}
{elseif ($DETAIL_VIEW_WIDGET->getLabel() eq 'ModComments')}
{assign var=COMMENTS_WIDGET_MODEL
value=$DETAIL_VIEW_WIDGET}
{elseif ($DETAIL_VIEW_WIDGET->getLabel() eq 'LBL_UPDATES')}
{assign var=UPDATES_WIDGET_MODEL
value=$DETAIL_VIEW_WIDGET}
{/if}
{/foreach}
When I have add new widget I must modify also SummaryViewWidgets.tpl. In
Vtiger module this file has different construction. Why is it so? I think
it is better to remove this file.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7989>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list