[ 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 13 <div> 14 {foreach from=$ACTIVITIES key=INDEX item=ACTIVITY} 15 <div> 16 <div class='pull-left'> 17 {if $ACTIVITY->get('activitytype') == 'Task'} 18 <image src="{vimage_path('Tasks.png')}" width="24px"/> 19 {else} 20 <image src="{vimage_path('Calendar.png')}" width="24px" /> 21 {/if} 22 </div> 23 <div> 24 <div class='pull-left' style='margin-top:5px'> 25 {assign var=PARENT_ID value=$ACTIVITY->get('parent_id')} 26 {assign var=CONTACT_ID value=$ACTIVITY->get('contact_id')} 27 <a href="{$ACTIVITY->getDetailViewUrl()}">{$ACTIVITY->get('subject')}</a>{if $PARENT_ID} {vtranslate('LBL_FOR')} {$ACTIVITY->getDisplayValue('parent_id')}{else if $CONTACT_ID} {vtranslate('LBL_FOR')} {$ACTIVITY->getDisplayValue('contact_id')}{/if} 28 </div> 29 {assign var=START_DATE value=$ACTIVITY->get('date_start')} 30 {assign var=START_TIME value=$ACTIVITY->get('time_start')} 31 32 {assign var=DUE_DATE value=$ACTIVITY->get('due_date')} 33 {assign var=DUE_TIME value=$ACTIVITY->get('time_end')} 34 <p class='pull-right muted' style='margin-top:5px;padding-right:5px;'><small title="{Vtiger_Util_Helper::formatDateTimeIntoDayString("$START_DATE $START_TIME")} {vtranslate('LBL_TO')} {Vtiger_Util_Helper::formatDateTimeIntoDayString("$DUE_DATE $DUE_TIME")}">{Vtiger_Util_Helper::formatDateDiffInStrings("$START_DATE $START_TIME")}</small></p> 35 <div class='clearfix'></div> 36 </div> 37 <div class='clearfix'></div> 38 </div> 39 {foreachelse} 40 <span class="noDataMsg"> 41 {if $smarty.request.name eq 'OverdueActivities'} 42 {vtranslate('LBL_NO_OVERDUE_ACTIVITIES', $MODULE_NAME)} 43 {else} 44 {vtranslate('LBL_NO_SCHEDULED_ACTIVITIES', $MODULE_NAME)} 45 {/if} 46 </span> 47 {/foreach} 48 49 {if $PAGING->get('nextPageExists') eq 'true'} 50 <div class='pull-right' style='margin-top:5px;padding-right:5px;'> 51 <a href="javascript:;" name="history_more" data-url="{$WIDGET->getUrl()}&page={$PAGING->getNextPage()}">{vtranslate('LBL_MORE')}...</a> 52 <br /> 53 <br /> 54 <br /> 55 <br /> 56 </div> 57 {else} 58 <br /> 59 <br /> 60 <br /> 61 <br /> 62 {/if} 63 </div>
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 |