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} <div class="paddingLeft5px"> <span class="col-sm-5"> <strong>{vtranslate('Title','Documents')}</strong> </span> <span class="col-sm-7"> <strong>{vtranslate('File Name', 'Documents')}</strong> </span> {foreach item=RELATED_RECORD from=$RELATED_RECORDS} {assign var=DOWNLOAD_FILE_URL value=$RELATED_RECORD->getDownloadFileURL()} {assign var=DOWNLOAD_STATUS value=$RELATED_RECORD->get('filestatus')} {assign var=DOWNLOAD_LOCATION_TYPE value=$RELATED_RECORD->get('filelocationtype')} <div class="recentActivitiesContainer row"> <ul class="" style="padding-left: 0px;list-style-type: none;"> <li> <div class="" id="documentRelatedRecord pull-left"> <span class="col-sm-5 textOverflowEllipsis"> <a href="{$RELATED_RECORD->getDetailViewUrl()}" id="{$MODULE}_{$RELATED_MODULE}_Related_Record_{$RELATED_RECORD->get('id')}" title="{$RELATED_RECORD->getDisplayValue('notes_title')}"> {$RELATED_RECORD->getDisplayValue('notes_title')} </a> </span> <span class="col-sm-5 textOverflowEllipsis" id="DownloadableLink"> {if $DOWNLOAD_STATUS eq 1} {$RELATED_RECORD->getDisplayValue('filename', $RELATED_RECORD->getId(), $RELATED_RECORD)} {else} {$RELATED_RECORD->get('filename')} {/if} </span> <span class="col-sm-2"> {* Documents list view special actions "view file" and "download file" *} {assign var=RECORD_ID value=$RELATED_RECORD->getId()} {if isPermitted('Documents', 'DetailView', $RECORD_ID) eq 'yes'} {assign var="DOCUMENT_RECORD_MODEL" value=Vtiger_Record_Model::getInstanceById($RECORD_ID)} {if $DOCUMENT_RECORD_MODEL->get('filename') && $DOCUMENT_RECORD_MODEL->get('filestatus')} <a name="viewfile" href="javascript:void(0)" data-filelocationtype="{$DOCUMENT_RECORD_MODEL->get('filelocationtype')}" data-filename="{$DOCUMENT_RECORD_MODEL->get('filename')}" onclick="Vtiger_Header_Js.previewFile(event,{$RECORD_ID})"><i title="{vtranslate('LBL_VIEW_FILE', 'Documents')}" class="fa fa-picture-o alignMiddle"></i></a> {/if} {if $DOCUMENT_RECORD_MODEL->get('filename') && $DOCUMENT_RECORD_MODEL->get('filestatus') && $DOCUMENT_RECORD_MODEL->get('filelocationtype') eq 'I'} <a name="downloadfile" href="{$DOCUMENT_RECORD_MODEL->getDownloadFileURL()}"><i title="{vtranslate('LBL_DOWNLOAD_FILE', 'Documents')}" class="fa fa-download alignMiddle"></i></a> {/if} {/if} </span> </div> </li> </ul> </div> {/foreach} </div> {assign var=NUMBER_OF_RECORDS value=count($RELATED_RECORDS)} {if $NUMBER_OF_RECORDS eq 5} <div class="row"> <div class="pull-right"> <a class="moreRecentDocuments cursorPointer">{vtranslate('LBL_MORE',$MODULE_NAME)}</a> </div> </div> {/if} {/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]