[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/layouts/vlayout/modules/Vtiger/ -> ContactsSummaryWidgetContents.tpl (source)

   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      {foreach item=RELATED_RECORD from=$RELATED_RECORDS}
  14          <div class="recentActivitiesContainer">
  15              <ul class="unstyled">
  16                  <li>
  17                      <div class="row-fluid">
  18                          <div class="textOverflowEllipsis">
  19                              <a href="{$RELATED_RECORD->getDetailViewUrl()}" id="{$MODULE}_{$RELATED_MODULE}_Related_Record_{$RELATED_RECORD->get('id')}" title="{$RELATED_RECORD->getDisplayValue('lastname')}">
  20                                  {$RELATED_RECORD->getDisplayValue('lastname')}
  21                              </a>
  22                          </div>
  23                          <div>{$RELATED_RECORD->getDisplayValue('email')}</div>
  24                          <div class="textOverflowEllipsis" title="{$RELATED_RECORD->getDisplayValue('phone')}">{$RELATED_RECORD->getDisplayValue('phone')}</div>
  25                      </div>
  26                  </li>
  27              </ul>
  28          </div>
  29      {/foreach}
  30      {assign var=NUMBER_OF_RECORDS value=count($RELATED_RECORDS)}
  31      {if $NUMBER_OF_RECORDS eq 5}
  32          <div class="row-fluid">
  33              <div class="pull-right">
  34                  <a class="moreRecentContacts cursorPointer">{vtranslate('LBL_MORE',$MODULE_NAME)}</a>
  35              </div>
  36          </div>
  37      {/if}
  38  {/strip}


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1