(NFC) (dev/core#878) Simplify copyright header (templates/*)
[civicrm-core.git] / templates / CRM / Contact / Page / Inline / Actions.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
9 *}
10 {* this template is used for the dropdown menu of the "Actions" button on contacts. *}
11
12 <div id="crm-contact-actions-wrapper" data-edit-params='{ldelim}"cid": "{$contactId}", "class_name": "CRM_Contact_Page_Inline_Actions"{rdelim}'>
13 {crmButton id="crm-contact-actions-link" href="#" icon="bars"}
14 {ts}Actions{/ts}
15 {/crmButton}
16 {crmRegion name="contact-page-inline-actions"}
17 <div class="ac_results" id="crm-contact-actions-list">
18 <div class="crm-contact-actions-list-inner">
19 <div class="crm-contact_activities-list">
20 {include file="CRM/Activity/Form/ActivityLinks.tpl" as_select=false}
21 </div>
22 <div class="crm-contact_print-list">
23 <ul class="contact-print">
24 {foreach from=$actionsMenuList.otherActions item='row'}
25 {if !empty($row.href) or !empty($row.tab)}
26 <li class="crm-contact-{$row.ref}">
27 <a href="{if !empty($row.href)}{$row.href}{if strstr($row.href, '?')}&cid={$contactId}{/if}{else}#{/if}" title="{$row.title|escape}" data-tab="{$row.tab}" {if !empty($row.class)}class="{$row.class}"{/if}>
28 <span><i {if !empty($row.icon)}class="{$row.icon}"{/if}></i> {$row.title}</span>
29 </a>
30 </li>
31 {/if}
32 {/foreach}
33 </ul>
34 </div>
35 <div class="crm-contact_actions-list">
36 <ul class="contact-actions">
37 {foreach from=$actionsMenuList.moreActions item='row'}
38 {if !empty($row.href) or !empty($row.tab)}
39 <li class="crm-action-{$row.ref}">
40 <a href="{if !empty($row.href)}{$row.href}{if strstr($row.href, '?')}&cid={$contactId}{/if}{else}#{/if}" title="{$row.title|escape}" data-tab="{$row.tab}" {if !empty($row.class)}class="{$row.class}"{/if}>{$row.title}</a>
41 </li>
42 {/if}
43 {/foreach}
44 </ul>
45 </div>
46
47
48 <div class="clear"></div>
49 </div>
50 </div>
51 {/crmRegion}
52 </div>
53 {literal}
54 {/literal}