Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
2c4c49ca | 3 | | CiviCRM version 4.7 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
e7112fa7 | 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
6a488035 TO |
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 | {* this template is used for the dropdown menu of the "Actions" button on contacts. *} | |
27 | ||
28 | <div id="crm-contact-actions-wrapper" data-edit-params='{ldelim}"cid": "{$contactId}", "class_name": "CRM_Contact_Page_Inline_Actions"{rdelim}'> | |
52604b19 | 29 | <a id="crm-contact-actions-link" href="#" class="button"><span><div class="icon ui-icon-arrow-1-se css_right"></div>{ts}Actions{/ts}</span></a> |
6a488035 TO |
30 | <div class="ac_results" id="crm-contact-actions-list"> |
31 | <div class="crm-contact-actions-list-inner"> | |
32 | <div class="crm-contact_activities-list"> | |
33 | {include file="CRM/Activity/Form/ActivityLinks.tpl" as_select=false} | |
34 | </div> | |
35 | ||
36 | <div class="crm-contact_print-list"> | |
37 | <ul class="contact-print"> | |
38 | <li class="crm-contact-print"> | |
39 | <a class="print" title="{ts}Printer-friendly view of this page.{/ts}" href='{crmURL p='civicrm/contact/view/print' q="reset=1&print=1&cid=$contactId"}'> | |
52604b19 | 40 | <span><div class="icon ui-icon-print"></div>{ts}Print Summary{/ts}</span> |
6a488035 TO |
41 | </a> |
42 | </li> | |
43 | <li> | |
52604b19 | 44 | <a class="vcard " title="{ts}vCard record for this contact.{/ts}" href="{crmURL p='civicrm/contact/view/vcard' q="reset=1&cid=$contactId"}"><span><div class="icon ui-icon-extlink"></div>{ts}vCard{/ts}</span> |
6a488035 TO |
45 | </a> |
46 | </li> | |
47 | {if !empty($dashboardURL)} | |
48 | <li class="crm-contact-dashboard"> | |
49 | <a href="{$dashboardURL}" class="dashboard " title="{ts}dashboard{/ts}"> | |
52604b19 | 50 | <span><div class="icon ui-icon-contact"></div>{ts}Contact Dashboard{/ts}</span> |
6a488035 TO |
51 | </a> |
52 | </li> | |
53 | {/if} | |
54 | {if !empty($userRecordUrl)} | |
55 | <li class="crm-contact-user-record"> | |
56 | <a href="{$userRecordUrl}" class="user-record " title="{ts}User Record{/ts}"> | |
52604b19 | 57 | <span><div class="icon ui-icon-person"></div>{ts}User Record{/ts}</span> |
6a488035 TO |
58 | </a> |
59 | </li> | |
60 | {/if} | |
61 | {if !empty($userAddUrl)} | |
62 | <li class="crm-contact-user-record"> | |
63 | <a href="{$userAddUrl}" class="user-record " title="{ts}Create User Record{/ts}"> | |
52604b19 | 64 | <span><div class="icon ui-icon-person"></div>{ts}Create User Record{/ts}</span> |
6a488035 TO |
65 | </a> |
66 | </li> | |
67 | {/if} | |
68 | </ul> | |
69 | </div> | |
70 | <div class="crm-contact_actions-list"> | |
71 | <ul class="contact-actions"> | |
72 | {foreach from=$actionsMenuList.moreActions item='row'} | |
8e4ec1f5 | 73 | {if !empty($row.href) or !empty($row.tab)} |
6a488035 | 74 | <li class="crm-action-{$row.ref}"> |
77042884 | 75 | <a href="{if !empty($row.href)}{$row.href}&cid={$contactId}{else}#{/if}" title="{$row.title}" data-tab="{$row.tab}" {if !empty($row.class)}class="{$row.class}"{/if}>{$row.title}</a> |
6a488035 TO |
76 | </li> |
77 | {/if} | |
78 | {/foreach} | |
79 | </ul> | |
80 | </div> | |
81 | ||
82 | ||
83 | <div class="clear"></div> | |
84 | </div> | |
85 | </div> | |
86 | </div> | |
87 | {literal} | |
6a488035 | 88 | {/literal} |