Merge pull request #2649 from rocxa/master
[civicrm-core.git] / templates / CRM / Contact / Page / Inline / ContactInfo.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.4 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25 *}
26 <div id="crm-contactinfo-content" {if $permission EQ 'edit'} class="crm-inline-edit" data-edit-params='{ldelim}"cid": "{$contactId}", "class_name": "CRM_Contact_Form_Inline_ContactInfo"{rdelim}'{/if}>
27 <div class="crm-clear crm-inline-block-content" {if $permission EQ 'edit'}title="{ts}Edit info{/ts}"{/if}>
28 {if $permission EQ 'edit'}
29 <div class="crm-edit-help">
30 <span class="batch-edit"></span>{ts}Edit info{/ts}
31 </div>
32 {/if}
33
34 {if $contact_type eq 'Individual'}
35 <div class="crm-summary-row">
36 <div class="crm-label">{ts}Employer{/ts}</div>
37 <div class="crm-content crm-contact-current_employer">
38 {if !empty($current_employer_id)}
39 <a href="{crmURL p='civicrm/contact/view' q="reset=1&cid=`$current_employer_id`"}" title="{ts}view current employer{/ts}">{$current_employer}</a>
40 {/if}
41 </div>
42 </div>
43 <div class="crm-summary-row">
44 <div class="crm-label">{ts}Job Title{/ts}</div>
45 <div class="crm-content crm-contact-job_title">{$job_title}</div>
46 </div>
47 {/if}
48 <div class="crm-summary-row">
49 <div class="crm-label">{ts}Nickname{/ts}</div>
50 <div class="crm-content crm-contact-nick_name">{$nick_name}</div>
51 </div>
52
53 {if $contact_type eq 'Organization'}
54 <div class="crm-summary-row">
55 <div class="crm-label">{ts}Legal Name{/ts}</div>
56 <div class="crm-content crm-contact-legal_name">{$legal_name}</div>
57 </div>
58 <div class="crm-summary-row">
59 <div class="crm-label">{ts}SIC Code{/ts}</div>
60 <div class="crm-content crm-contact-sic_code">{$sic_code}</div>
61 </div>
62 {/if}
63 <div class="crm-summary-row">
64 <div class="crm-label">{ts}Source{/ts}</div>
65 <div class="crm-content crm-contact_source">{$source}</div>
66 </div>
67
68 </div>
69 </div>