0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-25 08:57:55 +00:00
salesagility_SuiteCRM/modules/jjwg_Maps/tpls/ContactsInfoWindow.tpl

13 lines
829 B
Smarty
Executable File

<div class="marker"><b>{$moduleListSingular.Contacts}:
<a target="_blank"
href="index.php?module={$module_type}&action=DetailView&record={$fields.id}">{$fields.name}</a></b>
{if ($fields.account_id != '' && $fields.account_name != '')}<br />{$moduleListSingular.Accounts}: <a target="_blank"
href="index.php?module=Accounts&action=DetailView&record={$fields.account_id}">{$fields.account_name}</a>{/if}
<br />{$address}
<br /><i>{$mod_strings.LBL_MAP_ASSIGNED_TO} {$fields.assigned_user_name}</i>
<br /><br />
<a target="_blank" href="http://maps.googleapis.com/maps?q={$address|escape:'url'}">{$mod_strings.LBL_MAP_GOOGLE_MAPS_VIEW}</a>&nbsp;
<a target="_blank" href="http://maps.googleapis.com/maps?saddr={$current_user_address|escape:'url'}&daddr={$address|escape:'url'}">{$mod_strings.LBL_MAP_GET_DIRECTIONS}</a>
</div>