PATH:
home
/
letacommog
/
crmleta
/
layouts
/
v7
/
modules
/
Vtiger
{*<!-- /********************************************************************************* ** 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} {assign var=MODULE_NAME value="Calendar"} <div class="summaryWidgetContainer"> <div class="widget_header clearfix"> <h4 class="display-inline-block pull-left">{vtranslate('LBL_ACTIVITIES',$MODULE_NAME)}</h4> {*<div class=""> <button class="btn addButton createActivity" type="button" data-url="sourceModule={$RECORD->getModuleName()}&sourceRecord={$RECORD->getId()}&relationOperation=true"> <strong>{vtranslate('LBL_ADD',$MODULE_NAME)}</strong> </button> </div>*} {assign var=CALENDAR_MODEL value = Vtiger_Module_Model::getInstance('Calendar')} <div class="pull-right" style="margin-top: -5px;"> {if $CALENDAR_MODEL->isPermitted('CreateView')} <button class="btn addButton btn-sm btn-default createActivity toDotask textOverflowEllipsis max-width-100" title="{vtranslate('LBL_ADD_TASK',$MODULE_NAME)}" type="button" href="javascript:void(0)" data-url="sourceModule={$RECORD->getModuleName()}&sourceRecord={$RECORD->getId()}&relationOperation=true" > <i class="fa fa-plus"></i> {vtranslate('LBL_ADD_TASK',$MODULE_NAME)} </button> <button class="btn addButton btn-sm btn-default createActivity textOverflowEllipsis max-width-100" title="{vtranslate('LBL_ADD_EVENT',$MODULE_NAME)}" data-name="Events" data-url="index.php?module=Events&view=QuickCreateAjax" href="javascript:void(0)" type="button"> <i class="fa fa-plus"></i> {vtranslate('LBL_ADD_EVENT',$MODULE_NAME)} </button> {/if} </div> {assign var=SOURCE_MODEL value=$RECORD} </div> <div class="widget_contents"> {if count($ACTIVITIES) neq '0'} {foreach item=RECORD key=KEY from=$ACTIVITIES} {assign var=START_DATE value=$RECORD->get('date_start')} {assign var=START_TIME value=$RECORD->get('time_start')} {assign var=EDITVIEW_PERMITTED value=isPermitted('Calendar', 'EditView', $RECORD->get('crmid'))} {assign var=DETAILVIEW_PERMITTED value=isPermitted('Calendar', 'DetailView', $RECORD->get('crmid'))} {assign var=DELETE_PERMITTED value=isPermitted('Calendar', 'Delete', $RECORD->get('crmid'))} <div class="activityEntries"> <input type="hidden" class="activityId" value="{$RECORD->get('activityid')}"/> <div class='media'> <div class='row'> <div class='media-left module-icon col-lg-1 col-md-1 col-sm-1 textAlignCenter'> <span class='vicon-{strtolower($RECORD->get('activitytype'))}'></span> </div> <div class='media-body col-lg-7 col-md-7 col-sm-7'> <div class="summaryViewEntries"> {if $DETAILVIEW_PERMITTED == 'yes'}<a href="{$RECORD->getDetailViewUrl()}" title="{$RECORD->get('subject')}">{$RECORD->get('subject')}</a>{else}{$RECORD->get('subject')}{/if} {if $EDITVIEW_PERMITTED == 'yes'}<a href="{$RECORD->getEditViewUrl()}&sourceModule={$SOURCE_MODEL->getModuleName()}&sourceRecord={$SOURCE_MODEL->getId()}&relationOperation=true" class="fieldValue"><i class="summaryViewEdit fa fa-pencil" title="{vtranslate('LBL_EDIT',$MODULE_NAME)}"></i></a>{/if} {if $DELETE_PERMITTED == 'yes'}<a onclick="Vtiger_Detail_Js.deleteRelatedActivity(event);" data-id="{$RECORD->getId()}" data-recurring-enabled="{$RECORD->isRecurringEnabled()}" class="fieldValue"><i class="summaryViewEdit fa fa-trash " title="{vtranslate('LBL_DELETE',$MODULE_NAME)}"></i></a>{/if} </div> <span><strong title="{Vtiger_Util_Helper::formatDateTimeIntoDayString("$START_DATE $START_TIME")}">{Vtiger_Util_Helper::formatDateIntoStrings($START_DATE, $START_TIME)}</strong></span> </div> <div class='col-lg-4 col-md-4 col-sm-4 activityStatus' style='line-height: 0px;padding-right:30px;'> <div class="row"> {if $RECORD->get('activitytype') eq 'Task'} {assign var=MODULE_NAME value=$RECORD->getModuleName()} <input type="hidden" class="activityModule" value="{$RECORD->getModuleName()}"/> <input type="hidden" class="activityType" value="{$RECORD->get('activitytype')}"/> <div class="pull-right"> {assign var=FIELD_MODEL value=$RECORD->getModule()->getField('taskstatus')} <style> {assign var=PICKLIST_COLOR_MAP value=Settings_Picklist_Module_Model::getPicklistColorMap('taskstatus', true)} {foreach item=PICKLIST_COLOR key=PICKLIST_VALUE from=$PICKLIST_COLOR_MAP} {assign var=PICKLIST_TEXT_COLOR value=Settings_Picklist_Module_Model::getTextColor($PICKLIST_COLOR)} {assign var=CONVERTED_PICKLIST_VALUE value=Vtiger_Util_Helper::convertSpaceToHyphen($PICKLIST_VALUE)} .picklist-{$FIELD_MODEL->getId()}-{Vtiger_Util_Helper::escapeCssSpecialCharacters($CONVERTED_PICKLIST_VALUE)} { background-color: {$PICKLIST_COLOR};color: {$PICKLIST_TEXT_COLOR}; } {/foreach} </style> <strong><span class="value picklist-color picklist-{$FIELD_MODEL->getId()}-{Vtiger_Util_Helper::convertSpaceToHyphen($RECORD->get('status'))}">{vtranslate($RECORD->get('status'),$MODULE_NAME)}</span></strong>  {if $EDITVIEW_PERMITTED == 'yes'} <span class="editStatus cursorPointer"><i class="fa fa-pencil" title="{vtranslate('LBL_EDIT',$MODULE_NAME)}"></i></span> <span class="edit hide"> {assign var=FIELD_VALUE value=$FIELD_MODEL->set('fieldvalue', $RECORD->get('status'))} {include file=vtemplate_path($FIELD_MODEL->getUITypeModel()->getTemplateName(),$MODULE_NAME) FIELD_MODEL=$FIELD_MODEL USER_MODEL=$USER_MODEL MODULE=$MODULE_NAME OCCUPY_COMPLETE_WIDTH='true'} <input type="hidden" class="fieldname" value='{$FIELD_MODEL->get('name')}' data-prev-value='{$FIELD_MODEL->get('fieldvalue')}' /> </span> {/if} </div> {else} {assign var=MODULE_NAME value="Events"} <input type="hidden" class="activityModule" value="Events"/> <input type="hidden" class="activityType" value="{$RECORD->get('activitytype')}"/> <div class="pull-right"> {assign var=FIELD_MODEL value=$RECORD->getModule()->getField('eventstatus')} <style> {assign var=PICKLIST_COLOR_MAP value=Settings_Picklist_Module_Model::getPicklistColorMap('eventstatus', true)} {foreach item=PICKLIST_COLOR key=PICKLIST_VALUE from=$PICKLIST_COLOR_MAP} {assign var=PICKLIST_TEXT_COLOR value=Settings_Picklist_Module_Model::getTextColor($PICKLIST_COLOR)} {assign var=CONVERTED_PICKLIST_VALUE value=Vtiger_Util_Helper::convertSpaceToHyphen($PICKLIST_VALUE)} .picklist-{$FIELD_MODEL->getId()}-{Vtiger_Util_Helper::escapeCssSpecialCharacters($CONVERTED_PICKLIST_VALUE)} { background-color: {$PICKLIST_COLOR};color: {$PICKLIST_TEXT_COLOR}; } {/foreach} </style> <strong><span class="value picklist-color picklist-{$FIELD_MODEL->getId()}-{Vtiger_Util_Helper::convertSpaceToHyphen($RECORD->get('eventstatus'))}">{vtranslate($RECORD->get('eventstatus'),$MODULE_NAME)}</span></strong>  {if $EDITVIEW_PERMITTED == 'yes'} <span class="editStatus cursorPointer"><i class="fa fa-pencil" title="{vtranslate('LBL_EDIT',$MODULE_NAME)}"></i></span> <span class="edit hide"> {assign var=FIELD_VALUE value=$FIELD_MODEL->set('fieldvalue', $RECORD->get('eventstatus'))} {include file=vtemplate_path($FIELD_MODEL->getUITypeModel()->getTemplateName(),$MODULE_NAME) FIELD_MODEL=$FIELD_MODEL USER_MODEL=$USER_MODEL MODULE=$MODULE_NAME OCCUPY_COMPLETE_WIDTH='true'} {if $FIELD_MODEL->getFieldDataType() eq 'multipicklist'} <input type="hidden" class="fieldname" value='{$FIELD_MODEL->get('name')}[]' data-prev-value='{$FIELD_MODEL->getDisplayValue($FIELD_MODEL->get('fieldvalue'))}' /> {else} <input type="hidden" class="fieldname" value='{$FIELD_MODEL->get('name')}' data-prev-value='{$FIELD_MODEL->getDisplayValue($FIELD_MODEL->get('fieldvalue'))}' /> {/if} </span> </div> {/if} {/if} </div> </div> </div> </div> <hr> </div> {/foreach} {else} <div class="summaryWidgetContainer noContent"> <p class="textAlignCenter">{vtranslate('LBL_NO_PENDING_ACTIVITIES',$MODULE_NAME)}</p> </div> {/if} {if $PAGING_MODEL->isNextPageExists()} <div class="row"> <div class="textAlignCenter"> <a href="javascript:void(0)" class="moreRecentActivities">{vtranslate('LBL_SHOW_MORE',$MODULE_NAME)}</a> </div> </div> {/if} </div> </div> {/strip}
[+]
..
[-] ProjectTaskSummaryWidgetContents.tpl
[edit]
[-] RelatedActivities.tpl
[edit]
[-] DetailViewPreProcess.tpl
[edit]
[-] ProjectMilestoneSummaryWidgetContents.tpl
[edit]
[-] JSResources.tpl
[edit]
[-] NotAccessible.tpl
[edit]
[-] ExtensionLogDetail.tpl
[edit]
[-] SummaryViewContents.tpl
[edit]
[-] OverlayDetailView.tpl
[edit]
[-] AdvanceFilterCondition.tpl
[edit]
[-] HelpDeskSummaryWidgetContents.tpl
[edit]
[-] InventoryQuickPreview.tpl
[edit]
[-] SummaryViewWidgets.tpl
[edit]
[-] showMergeTemplates.tpl
[edit]
[-] ContactsSummaryWidgetContents.tpl
[edit]
[+]
uitypes
[-] PopupNavigation.tpl
[edit]
[+]
partials
[-] AdvanceSearch.tpl
[edit]
[-] SummaryWidgets.tpl
[edit]
[-] SendSMSForm.tpl
[edit]
[-] OperationNotPermitted.tpl
[edit]
[-] DocumentsSummaryWidgetContents.tpl
[edit]
[-] UnifiedSearchResultsContents.tpl
[edit]
[-] DetailViewHeaderFieldsView.tpl
[edit]
[-] ListViewActions.tpl
[edit]
[-] CommentsListIteration.tpl
[edit]
[-] ComposeEmailForm.tpl
[edit]
[-] CommentsList.tpl
[edit]
[-] RecentComments.tpl
[edit]
[-] Popup.tpl
[edit]
[-] SearchResults.tpl
[edit]
[-] AddTagUI.tpl
[edit]
[-] TransferRecordOwnership.tpl
[edit]
[-] ListViewRecordActions.tpl
[edit]
[-] ShowAllComments.tpl
[edit]
[-] FindDuplicateContents.tpl
[edit]
[+]
resources
[-] DetailViewHeader.tpl
[edit]
[-] ModalHeader.tpl
[edit]
[-] PopupFooter.tpl
[edit]
[-] OverlaySummaryView.tpl
[edit]
[-] DetailViewHeaderTitle.tpl
[edit]
[-] InventoryListViewQuickPreview.tpl
[edit]
[-] Header.tpl
[edit]
[-] EmailRelatedList.tpl
[edit]
[-] ModuleSummaryView.tpl
[edit]
[-] PopupContents.tpl
[edit]
[-] ListColumnsEdit.tpl
[edit]
[-] ProductsSummaryWidgetContents.tpl
[edit]
[-] ListViewContents.tpl
[edit]
[-] vtiger7ComingSoon.tpl
[edit]
[-] QuickViewCommentsList.tpl
[edit]
[-] ListViewPreProcess.tpl
[edit]
[-] EditView.tpl
[edit]
[-] DetailViewPostProcess.tpl
[edit]
[-] ListViewQuickPreview.tpl
[edit]
[-] RedirectToEditView.tpl
[edit]
[-] IndexViewPreProcess.tpl
[edit]
[+]
dashboards
[-] ListViewHeader.tpl
[edit]
[-] ModuleHeader.tpl
[edit]
[-] RelatedList.tpl
[edit]
[-] Export.tpl
[edit]
[-] EmailPreviewPrint.tpl
[edit]
[-] NoComments.tpl
[edit]
[-] Tag.tpl
[edit]
[-] SelectEmailFields.tpl
[edit]
[-] UI5EmbedView.tpl
[edit]
[-] PDFViewer.tpl
[edit]
[-] Footer.tpl
[edit]
[-] FindDuplicatePostProcess1.tpl
[edit]
[-] TagCloudResults.tpl
[edit]
[-] ListViewQuickPreviewSectionHeader.tpl
[edit]
[-] DetailViewTagList.tpl
[edit]
[-] Comment.tpl
[edit]
[-] QuickCreate.tpl
[edit]
[-] BreadCrumbs.tpl
[edit]
[-] DetailViewFullContents.tpl
[edit]
[-] ShowTagCloud.tpl
[edit]
[-] PicklistColorMap.tpl
[edit]
[-] RecentActivities.tpl
[edit]
[-] FindDuplicatePreProcess.tpl
[edit]
[-] ModalFooter.tpl
[edit]
[-] MergeRecords.tpl
[edit]
[-] ListViewQuickPreviewHeaderTitle.tpl
[edit]
[-] DetailViewActions.tpl
[edit]
[-] AddCommentFooter.tpl
[edit]
[-] AddDashBoardTabForm.tpl
[edit]
[-] AdvanceFilter.tpl
[edit]
[-] Pagination.tpl
[edit]
[-] DetailViewSummaryContents.tpl
[edit]
[-] AddCommentForm.tpl
[edit]
[-] ListViewPostProcess.tpl
[edit]
[-] IndexPostProcess.tpl
[edit]
[-] ExtensionListImportLog.tpl
[edit]
[-] RecordNamesList.tpl
[edit]
[-] OverlayEditView.tpl
[edit]
[-] RecipientPreferences.tpl
[edit]
[-] MassEditForm.tpl
[edit]
[-] TooltipContents.tpl
[edit]
[-] EmailPreview.tpl
[edit]
[-] History.tpl
[edit]
[-] ModuleSearchResults.tpl
[edit]
[-] UnifiedSearchResults.tpl
[edit]
[-] DetailViewBlockView.tpl
[edit]
[-] ModuleRelatedTabs.tpl
[edit]
[-] showDuplicateSearch.tpl
[edit]
[-] ExtensionListLog.tpl
[edit]
[-] Index.tpl
[edit]
[-] CommentThreadList.tpl
[edit]
[-] FindDuplicateHeader.tpl
[edit]