[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
1 {*<!-- 2 /********************************************************************************* 3 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 4 * ("License"); You may not use this file except in compliance with the License 5 * The Original Code is: vtiger CRM Open Source 6 * The Initial Developer of the Original Code is vtiger. 7 * Portions created by vtiger are Copyright (C) vtiger. 8 * All Rights Reserved. 9 * 10 ********************************************************************************/ 11 -->*} 12 {strip} 13 <div class="row-fluid"> 14 <span class="span7"> 15 <strong>{vtranslate('Title','Documents')}</strong> 16 </span> 17 <span class="span4 horizontalLeftSpacingForSummaryWidgetHeader"> 18 <span class="pull-right"> 19 <strong>{vtranslate('File Name', 'Documents')}</strong> 20 </span> 21 </span> 22 </div> 23 {foreach item=RELATED_RECORD from=$RELATED_RECORDS} 24 {assign var=DOWNLOAD_FILE_URL value=$RELATED_RECORD->getDownloadFileURL()} 25 {assign var=DOWNLOAD_STATUS value=$RELATED_RECORD->get('filestatus')} 26 {assign var=DOWNLOAD_LOCATION_TYPE value=$RELATED_RECORD->get('filelocationtype')} 27 <div class="recentActivitiesContainer" id="relatedDocuments"> 28 <ul class="unstyled"> 29 <li> 30 <div class="row-fluid" id="documentRelatedRecord"> 31 <span class="span7 textOverflowEllipsis"> 32 <a href="{$RELATED_RECORD->getDetailViewUrl()}" id="{$MODULE}_{$RELATED_MODULE}_Related_Record_{$RELATED_RECORD->get('id')}" title="{$RELATED_RECORD->getDisplayValue('notes_title')}"> 33 {$RELATED_RECORD->getDisplayValue('notes_title')} 34 </a> 35 </span> 36 <span class="span5 textOverflowEllipsis" id="DownloadableLink"> 37 {if $DOWNLOAD_STATUS eq 1} 38 {$RELATED_RECORD->getDisplayValue('filename', $RELATED_RECORD->getId(), $RELATED_RECORD)} 39 {else} 40 {$RELATED_RECORD->get('filename')} 41 {/if} 42 </span> 43 </div> 44 </li> 45 </ul> 46 </div> 47 {/foreach} 48 {assign var=NUMBER_OF_RECORDS value=count($RELATED_RECORDS)} 49 {if $NUMBER_OF_RECORDS eq 5} 50 <div class="row-fluid"> 51 <div class="pull-right"> 52 <a class="moreRecentDocuments cursorPointer">{vtranslate('LBL_MORE',$MODULE_NAME)}</a> 53 </div> 54 </div> 55 {/if} 56 {/strip}
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |