{if !empty($reminders)} {$_reminder_types = crmConfig::getReminderTypeUI2()} {foreach $reminders as $_reminder} {$_is_deal = ( $_reminder.contact_id < 0 )} {if !empty($_reminder.type) && !empty($_reminder_types[$_reminder.type])} {$_active_reminder_type = $_reminder_types[$_reminder.type]} {/if} {capture assign=_deal_or_contact} {if $_is_deal && !empty($deals[abs($_reminder.contact_id)])} {$_deal_id = abs($_reminder.contact_id)} {$_deal = $deals[$_deal_id]} {if !empty($contacts[$_deal.contact_id])} {$_user = $contacts[$_deal.contact_id]} {$_userpic = $_user->getPhoto(32)} {/if} {*if !empty($_userpic)} {/if*} {$_deal.name|escape} {*if !empty($_reminder.rights)}
{/if*} {elseif !$_is_deal && !empty($contacts[$_reminder.contact_id])} {$_user = $contacts[$_reminder.contact_id]} {$_userpic = $_user->getPhoto(32)} {if !empty($_userpic)} {/if}  {$wa->crm->contactName($_user.name)} {*if !empty($_reminder.rights)}
{/if*} {/if} {/capture} {$_reminder_classes = []} {$_reminder_classes[] = $_reminder.state|default:""} {if $reminder_max_id && $_reminder.id > $reminder_max_id || $_reminder.id == $highlight_id} {$_reminder_classes[] = "highlighted"} {/if} {if $_reminder.id == $reminder_id} {$_reminder_classes[] = "is-target"} {/if} {$_reminder_mark_content = ""} {if $_reminder_classes[0] == "overdue"} {$_reminder_mark_content = "!!!"} {/if} {if $_reminder_classes[0] == "burn"} {$_reminder_mark_content = "!!"} {/if} {if $_reminder_classes[0] == "actual"} {$_reminder_mark_content = "!"} {/if}
  • {* VIEW *}
    {if !empty($_reminder.rights)} {$_reminder_mark_content} {else} {$_reminder_mark_content} {/if} {$show_user_block = $_reminder.creator_contact_id !== $_reminder.user_contact_id}
    {if !empty($_reminder.rights)}
    {$_reminder.content|escape|nl2br}
    {**} {else}
    {$_reminder.content|escape|nl2br}
    {/if}
    {if $show_user_block} {if !empty($users[$_reminder.creator_contact_id])} {$_user_info = $users[$_reminder.creator_contact_id]} {$_userpic_info = $_user_info->getPhoto(32)} {if !empty($_userpic_info)} {/if} {else} {/if} {/if} {if $show_user_block || $is_all_reminders} {if !empty($users[$_reminder.user_contact_id])} {$_user_info = $users[$_reminder.user_contact_id]} {$_userpic_info = $_user_info->getPhoto(32)} {if !empty($_userpic_info)} {/if} {else} {/if} {/if}
    {* EDIT *}
    {$_reminder_user = ifset($users[$_reminder.user_contact_id], false)} {if !empty($_reminder_user)} {include file="./ReminderFormEdit.inc.html" _user=$_reminder_user _reminder=$_reminder inline} {/if}
    {* CONFIRM *}

    [`Are you sure?`]

    [`or`]
    {* REPORT *}
    {if !empty($_reminder.rights)}
    {/if}
    [`Created at`]:
    {$_reminder.create_datetime|wa_date:"d.m.Y H:i"}
    {if !empty($_reminder.rights)} {/if}
  • {/foreach} {if isset($pages_count) && $pages_count > $current_page}
  • {/if} {/if}