[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/layouts/vlayout/modules/Vtiger/ -> HelpDeskSummaryWidgetContents.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>
  18                          <div class="textOverflowEllipsis width27em">
  19                              <a href="{$RELATED_RECORD->getDetailViewUrl()}" title="{$RELATED_RECORD->getDisplayValue('ticket_title')}" id="{$MODULE}_{$RELATED_MODULE}_Related_Record_{$RELATED_RECORD->get('id')}">
  20                                  {$RELATED_RECORD->getDisplayValue('ticket_title')}
  21                              </a>
  22                          </div>
  23                          <div>{vtranslate('LBL_TICKET_PRIORITY',$MODULE)} : <strong>{$RELATED_RECORD->getDisplayValue('ticketpriorities')}</strong></div>
  24                          {assign var=DESCRIPTION value="{$RELATED_RECORD->getDescriptionValue()}"}
  25                          {if !empty($DESCRIPTION)}
  26                              <div class="row-fluid">
  27                                  <span class="span8 textOverflowEllipsis width27em">{$DESCRIPTION}</span>
  28                                  <span class="span3"><a href="{$RELATED_RECORD->getDetailViewUrl()}">{vtranslate('LBL_MORE',$MODULE)}</a></span>
  29                              </div>
  30                          {/if}
  31                      </div>
  32                  </li>
  33              </ul>
  34          </div>
  35      {/foreach}
  36      {assign var=NUMBER_OF_RECORDS value=count($RELATED_RECORDS)}
  37      {if $NUMBER_OF_RECORDS eq 5}
  38          <div class="row-fluid">
  39              <div class="pull-right">
  40                  <a class="moreRecentTickets cursorPointer">{vtranslate('LBL_MORE',$MODULE_NAME)}</a>
  41              </div>
  42          </div>
  43      {/if}
  44  {/strip}


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