if (!CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'disable_core_css')) {
$this->addStyleFile('civicrm', 'css/civicrm.css', -99, $region);
}
+ // crm-i.css added ahead of other styles so it can be overridden by FA.
+ $this->addStyleFile('civicrm', 'css/crm-i.css', -101, $region);
}
return $this;
}
float: right;
}
+.crm-container a.crm-event-feed-link {
+ margin: 0 1ex;
+ color: #52534D;
+}
+
+.crm-container a.crm-event-feed-link:hover {
+ color: #2786c2;
+}
+
.crm-container table.criteria-group {
margin-bottom: .1em;
}
/* Font Awesome */
-/* Direct copy of .fa from font-awesome.css
-This is separate to avoid conflict with a site theme's implementation of FA. */
-.crm-i {
- display: inline-block;
- font: normal normal normal 14px/1 FontAwesome;
- font-size: inherit;
- text-rendering: auto;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- transform: translate(0, 0);
-}
-
.crm-i.crm-i-red {
color: #8A1F11;
}
--- /dev/null
+/* Direct copy of .fa from font-awesome.css
+This is separate to avoid conflict with a site theme's implementation of FA. It
+is loaded before font-awesome.css so that .fa-XXX classes can modify it. */
+.crm-i {
+ display: inline-block;
+ font: normal normal normal 14px/1 FontAwesome;
+ font-size: inherit;
+ text-rendering: auto;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ transform: translate(0, 0);
+}
{if $action ne 1 and $action ne 2}
<div class="action-link">
- <a href="{crmURL q="action=add&reset=1"}" id="newACL"><div class="icon ui-icon-circle-plus"></div>{ts}Add ACL{/ts}</a>
+ <a href="{crmURL q="action=add&reset=1"}" id="newACL"><i class="crm-i fa-plus-circle"></i> {ts}Add ACL{/ts}</a>
</div>
{/if}
</div>
{/section}
</tbody>
</table>
- <a class="action-item crm-hover-button buildStringOverrideRow" href="#"><span class="icon ui-icon-circle-plus"></span> {ts}Add row{/ts}</a>
+ <a class="action-item crm-hover-button buildStringOverrideRow" href="#"><i class="crm-i fa-plus-circle"></i> {ts}Add row{/ts}</a>
</td>
</tr>
</table>
{if $action ne 1 and $action ne 2}
<div class="action-link">
- <a href="{crmURL q="action=add&reset=1"}" id="newJob-bottom" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add New Scheduled Job{/ts}</span></a>
- <a href="{crmURL p='civicrm/admin/joblog' q="reset=1"}" id="jobLog-bottom" class="button"><span><div class="icon ui-icon-zoomin"></div>{ts}View Log (all jobs){/ts}</span></a>
+ {crmButton q="action=add&reset=1" id="newJob-bottom" icon="plus-circle"}{ts}Add New Scheduled Job{/ts}{/crmButton}
+ {crmButton p='civicrm/admin/joblog' q="reset=1" id="jobLog-bottom" icon="list-alt"}{ts}View Log (all jobs){/ts}{/crmButton}
</div>
{/if}
</div>
{ts}There are no jobs configured.{/ts}
</div>
<div class="action-link">
- <a href="{crmURL p='civicrm/admin/job' q="action=add&reset=1"}" id="newJob-nojobs" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add New Scheduled Job{/ts}</span></a>
+ <a href="{crmURL p='civicrm/admin/job' q="action=add&reset=1"}" id="newJob-nojobs" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add New Scheduled Job{/ts}</span></a>
</div>
{/if}
{/strip}
<div class="action-link">
- <a href="{crmURL q="action=add&reset=1"}" id="newLabelFormat" class="button"><span><div
- class="icon ui-icon-circle-plus"></div>{ts}Add Label Format{/ts}</span></a>
+ <a href="{crmURL q="action=add&reset=1"}" id="newLabelFormat" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Label Format{/ts}</span></a>
</div>
</div>
{else}
<div class="crm-block crm-content-block">
<div id="new-menu-item">
- <a href="{crmURL p="civicrm/admin/menu" q="action=add&reset=1"}" class="button" style="margin-left: 6px;"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Menu Item{/ts}</span></a>
+ <a href="{crmURL p="civicrm/admin/menu" q="action=add&reset=1"}" class="button" style="margin-left: 6px;"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Menu Item{/ts}</span></a>
<span id="reset-menu" class="status" style="display:none">
{capture assign=rebuildURL}{crmURL p='civicrm/admin/menu' q="reset=1"}{/capture}
{ts 1=$rebuildURL}<a href='%1' title="Reload page"><strong>Click here</strong></a> to reload the page and see your changes in the menu bar above.{/ts}
{if $action ne 1 and $action ne 2}
<div class="action-link">
<a href="{crmURL q="action=add&reset=1"}" id="newbadge-layout"
- class="button"><span><div class="icon ui-icon-circle-plus"></div> {ts}New Badge Layout{/ts}</span></a>
+ class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}New Badge Layout{/ts}</span></a>
</div>
{/if}
</div>
</table>
</div>
<div class="crm-submit-buttons">
- <a accesskey="N" href="{crmURL p='civicrm/batch/add' q='reset=1&action=add'}" id="newBatch" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}New Data Entry Batch{/ts}</span></a><br/>
+ <a accesskey="N" href="{crmURL p='civicrm/batch/add' q='reset=1&action=add'}" id="newBatch" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}New Data Entry Batch{/ts}</span></a><br/>
</div>
<table class="crm-batch-selector">
<thead>
{ts}None found.{/ts}
</div>
<div class="action-link">
- <a href="{crmURL p='civicrm/campaign/add' q='reset=1' h=0 }" class="button"><span><div
- class="icon ui-icon-circle-plus"></div>{ts}Add Campaign{/ts}</span></a>
+ <a href="{crmURL p='civicrm/campaign/add' q='reset=1' h=0 }" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Campaign{/ts}</span></a>
</div>
{elseif $buildSelector}
</table>
{else}
<div class="action-link">
- <a href="{crmURL p='civicrm/campaign/add' q='reset=1' h=0 }" class="button"><span><div
- class="icon ui-icon-circle-plus"></div>{ts}Add Campaign{/ts}</span></a>
+ <a href="{crmURL p='civicrm/campaign/add' q='reset=1' h=0 }" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Campaign{/ts}</span></a>
</div>
{* build search form here *}
{if $surveys}
<div class="action-link">
<a href="{$addSurveyUrl}" class="button">
- <span><div class="icon ui-icon-circle-plus"></div> {ts}Add Survey{/ts}</span>
+ <span><i class="crm-i fa-plus-circle"></i> {ts}Add Survey{/ts}</span>
</a>
</div>
{include file="CRM/common/enableDisableApi.tpl"}
{/if}
<div class="action-link">
<a href="{$addSurveyUrl}" class="button">
- <span><div class="icon ui-icon-circle-plus"></div> {ts}Add Survey{/ts}</span>
+ <span><i class="crm-i fa-plus-circle"></i> {ts}Add Survey{/ts}</span>
</a>
</div>
{else}
{if $rows}
<div class="action-link">
- <a href="{$addSurveyType}" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts 1=$GName}Add %1{/ts}</span></a>
+ <a href="{$addSurveyType}" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts 1=$GName}Add %1{/ts}</span></a>
</div>
<div id={$gName}>
</table>
{/strip}
<div class="action-link">
- <a href="{$addSurveyType}" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts 1=$GName}Add %1{/ts}</span></a>
+ <a href="{$addSurveyType}" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts 1=$GName}Add %1{/ts}</span></a>
</div>
</div>
<a href="{crmURL p='civicrm/contact/view' q="action=view&reset=1&cid=`$client.contact_id`"}" title="{ts}View contact record{/ts}">{$client.display_name}</a>{if not $smarty.foreach.clients.last}, {/if}
{/foreach}
<a href="#addClientDialog" class="crm-hover-button case-miniform" title="{ts}Add Client{/ts}" data-key="{crmKey name='civicrm/case/ajax/addclient'}">
- <span class="icon ui-icon-circle-plus"></span>
+ <i class="crm-i fa-user-plus"></i>
</a>
<div id="addClientDialog" class="hiddenElement">
<input name="add_client_id" placeholder="{ts}- select contact -{/ts}" class="huge" data-api-params='{ldelim}"params": {ldelim}"contact_type": "{$contactType}"{rdelim}{rdelim}' />
<span class="crm-case-summary-label">{ts}Subject{/ts}:</span> {$caseDetails.case_subject}
</td>
<td class="crm-case-caseview-case_type label">
- <span class="crm-case-summary-label">{ts}Type{/ts}:</span> {$caseDetails.case_type} <a class="crm-hover-button crm-popup" href="{crmURL p='civicrm/case/activity' q="action=add&reset=1&cid=`$contactId`&caseid=`$caseId`&selectedChild=activity&atype=`$changeCaseTypeId`"}" title="{ts}Change case type (creates activity record){/ts}"><span class="icon ui-icon-pencil"></span></a>
+ <span class="crm-case-summary-label">{ts}Type{/ts}:</span> {$caseDetails.case_type} <a class="crm-hover-button crm-popup" href="{crmURL p='civicrm/case/activity' q="action=add&reset=1&cid=`$contactId`&caseid=`$caseId`&selectedChild=activity&atype=`$changeCaseTypeId`"}" title="{ts}Change case type (creates activity record){/ts}"><i class="crm-i fa-pencil"></i></a>
</td>
<td class="crm-case-caseview-case_status label">
- <span class="crm-case-summary-label">{ts}Status{/ts}:</span> {$caseDetails.case_status} <a class="crm-hover-button crm-popup" href="{crmURL p='civicrm/case/activity' q="action=add&reset=1&cid=`$contactId`&caseid=`$caseId`&selectedChild=activity&atype=`$changeCaseStatusId`"}" title="{ts}Change case status (creates activity record){/ts}"><span class="icon ui-icon-pencil"></span></a>
+ <span class="crm-case-summary-label">{ts}Status{/ts}:</span> {$caseDetails.case_status} <a class="crm-hover-button crm-popup" href="{crmURL p='civicrm/case/activity' q="action=add&reset=1&cid=`$contactId`&caseid=`$caseId`&selectedChild=activity&atype=`$changeCaseStatusId`"}" title="{ts}Change case status (creates activity record){/ts}"><i class="crm-i fa-pencil"></i></a>
</td>
<td class="crm-case-caseview-case_start_date label">
- <span class="crm-case-summary-label">{ts}Open Date{/ts}:</span> {$caseDetails.case_start_date|crmDate} <a class="crm-hover-button crm-popup" href="{crmURL p='civicrm/case/activity' q="action=add&reset=1&cid=`$contactId`&caseid=`$caseId`&selectedChild=activity&atype=`$changeCaseStartDateId`"}" title="{ts}Change case start date (creates activity record){/ts}"><span class="icon ui-icon-pencil"></span></a>
+ <span class="crm-case-summary-label">{ts}Open Date{/ts}:</span> {$caseDetails.case_start_date|crmDate} <a class="crm-hover-button crm-popup" href="{crmURL p='civicrm/case/activity' q="action=add&reset=1&cid=`$contactId`&caseid=`$caseId`&selectedChild=activity&atype=`$changeCaseStartDateId`"}" title="{ts}Change case start date (creates activity record){/ts}"><i class="crm-i fa-pencil"></i></a>
</td>
<td class="crm-case-caseview-{$caseID} label">
<span class="crm-case-summary-label">{ts}ID{/ts}:</span> {$caseID}
<div>
<p>
{if $hasAccessToAllCases}
- <a class="crm-hover-button action-item no-popup" href="{crmURL p='civicrm/case/report/print' q="all=1&redact=0&cid=$contactID&caseID=$caseId&asn=standard_timeline"}"><span class="icon ui-icon-print"></span> {ts}Print Report{/ts}</a>
+ <a class="crm-hover-button action-item no-popup" href="{crmURL p='civicrm/case/report/print' q="all=1&redact=0&cid=$contactID&caseID=$caseId&asn=standard_timeline"}"><i class="crm-i fa-print"></i> {ts}Print Report{/ts}</a>
{/if}
{if $mergeCases}
- <a href="#mergeCasesDialog" class="action-item no-popup crm-hover-button case-miniform"><span class="icon ui-icon-copy"></span>{ts}Merge Case{/ts}</a>
+ <a href="#mergeCasesDialog" class="action-item no-popup crm-hover-button case-miniform"><i class="crm-i fa-compress"></i> {ts}Merge Case{/ts}</a>
{$form._qf_CaseView_next_merge_case.html}
<span id="mergeCasesDialog" class="hiddenElement">
{$form.merge_case_id.html}
{/if}
{if call_user_func(array('CRM_Core_Permission','giveMeAllACLs'))}
- <a class="action-item crm-hover-button medium-popup" href="{crmURL p='civicrm/contact/view/case/editClient' h=1 q="reset=1&action=update&id=$caseID&cid=$contactID"}"><span class="icon ui-icon-person"></span> {ts}Assign to Another Client{/ts}</a>
+ <a class="action-item crm-hover-button medium-popup" href="{crmURL p='civicrm/contact/view/case/editClient' h=1 q="reset=1&action=update&id=$caseID&cid=$contactID"}"><i class="crm-i fa-user"></i> {ts}Assign to Another Client{/ts}</a>
{/if}
</p>
</div>
{if $hasAccessToAllCases}
<div class="crm-submit-buttons">
- <a class="button case-miniform" href="#addCaseRoleDialog" data-key="{crmKey name='civicrm/ajax/relation'}" rel="#caseRoles-selector-{$caseID}"><div class="icon ui-icon-circle-plus"></div>{ts}Add new role{/ts}</a>
+ <a class="button case-miniform" href="#addCaseRoleDialog" data-key="{crmKey name='civicrm/ajax/relation'}" rel="#caseRoles-selector-{$caseID}"><i class="crm-i fa-plus-circle"></i> {ts}Add new role{/ts}</a>
</div>
<div id="addCaseRoleDialog" class="hiddenElement">
<div>{$form.role_type.label}</div>
{if !empty($globalGroupInfo.id)}
<div class="crm-submit-buttons">
<a class="button case-miniform" href="#addMembersToGroupDialog" rel="#globalRelationships-selector-{$caseId}" data-group_id="{$globalGroupInfo.id}">
- <div class="icon ui-icon-circle-plus"></div>{ts 1=$globalGroupInfo.title}Add members to %1{/ts}
+ <i class="crm-i fa-plus-circle"></i> {ts 1=$globalGroupInfo.title}Add members to %1{/ts}
</a>
</div>
<div id="addMembersToGroupDialog" class="hiddenElement">
<div class="crm-submit-buttons crm-case-dashboard-buttons">
{if $newClient and $allowToAddNewCase}
- <a href="{$newCaseURL}" class="button"><span><div class="icon ui-icon-circle-plus"></div> {ts}Add Case{/ts}</span></a>
+ <a href="{$newCaseURL}" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Case{/ts}</span></a>
{/if}
- <a class="button no-popup" name="find_my_cases" href="{crmURL p="civicrm/case/search" q="reset=1&case_owner=2&force=1"}"><span><div class="icon ui-icon-search"></div> {ts}Find My Cases{/ts}</span></a>
+ <a class="button no-popup" name="find_my_cases" href="{crmURL p="civicrm/case/search" q="reset=1&case_owner=2&force=1"}"><span><i class="crm-i fa-plus-search"></i> {ts}Find My Cases{/ts}</span></a>
<div class="crm-case-dashboard-switch-view-buttons">
{if $myCases}
call_user_func(array('CRM_Core_Permission','check'), 'add cases') ) AND
$allowToAddNewCase}
<div class="action-link">
- <a accesskey="N" href="{$newCaseURL}" class="button"><span><div class="icon ui-icon-circle-plus"></div> {ts}Add Case{/ts}</span></a>
+ <a accesskey="N" href="{$newCaseURL}" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Case{/ts}</span></a>
</div>
{/if}
{if $className eq 'CRM_Contact_Form_Contact'}
<div id="addMoreAddress{$blockId}" class="crm-add-address-wrapper">
- <a href="#" class="button" onclick="buildAdditionalBlocks( 'Address', '{$className}' );return false;"><span><div class="icon ui-icon-circle-plus"></div>{ts}Another Address{/ts}</span></a>
+ <a href="#" class="button" onclick="buildAdditionalBlocks( 'Address', '{$className}' );return false;"><span><i class="crm-i fa-plus-circle"></i> {ts}Another Address{/ts}</span></a>
</div>
{/if}
{capture assign=editSmartGroupURL}{crmURL p="civicrm/contact/search/advanced" q="reset=1&force=1&ssID=`$ssID`"}{/capture}
{/if}
<div class="crm-submit-buttons">
- <a href="{$editSmartGroupURL}" class="button no-popup"><span><div class="icon ui-icon-pencil"></div> {ts 1=$group.title}Edit Smart Group Search Criteria for %1{/ts}</span></a>
+ <a href="{$editSmartGroupURL}" class="button no-popup"><span><i class="crm-i fa-pencil"></i> {ts 1=$group.title}Edit Smart Group Search Criteria for %1{/ts}</span></a>
{help id="id-edit-smartGroup"}
</div>
{/if}
{if $permissionedForGroup}
{capture assign=addMembersURL}{crmURL q="context=amtg&amtgID=`$group.id`&reset=1"}{/capture}
<div class="crm-submit-buttons">
- <a href="{$addMembersURL}" class="button no-popup"><span><div class="icon ui-icon-circle-plus"></div> {ts 1=$group.title}Add Contacts to %1{/ts}</span></a>
+ <a href="{$addMembersURL}" class="button no-popup"><span><i class="crm-i fa-user-plus"></i> {ts 1=$group.title}Add Contacts to %1{/ts}</span></a>
{if $ssID}{help id="id-add-to-smartGroup"}{/if}
</div>
{/if}
{if $permission EQ 'edit' AND ($action eq 16)}
<div class="action-link">
- <a accesskey="N" href="{crmURL p='civicrm/contact/view/note' q="cid=`$contactId`&action=add"}" class="button medium-popup"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Note{/ts}</span></a>
+ <a accesskey="N" href="{crmURL p='civicrm/contact/view/note' q="cid=`$contactId`&action=add"}" class="button medium-popup"><span><i class="crm-i fa-comment"></i> {ts}Add Note{/ts}</span></a>
</div>
<div class="clear"></div>
{/if}
<td class="crm-note-comment">
{if $note.comment_count}
<span id="{$note.id}_show" style="display:block" class="icon_comments_show">
- <a href="#" onclick="showHideComments({$note.id}); return false;" title="{ts}Show comments for this note.{/ts}"><span class="ui-icon dark-icon ui-icon-triangle-1-e"></span></a>
+ <a href="#" onclick="showHideComments({$note.id}); return false;" title="{ts}Show comments for this note.{/ts}"><i class="crm-i fa-caret-right"></i></span></a>
</span>
<span id="{$note.id}_hide" style="display:none" class="icon_comments_hide">
- <a href="#" onclick="showHideComments({$note.id}); return false;" title="{ts}Hide comments for this note.{/ts}"><span class="ui-icon dark-icon ui-icon-triangle-1-s"></span></a>
+ <a href="#" onclick="showHideComments({$note.id}); return false;" title="{ts}Hide comments for this note.{/ts}"><i class="crm-i fa-caret-down"></i></span></a>
</span>
{else}
- <span class="ui-icon ui-icon-triangle-1-e" id="{$note.id}_hide" style="display:none"></span>
+ <span class="crm-i fa-caret-right" id="{$note.id}_hide" style="display:none"></span>
{/if}
</td>
<td class="crm-note-note">
{/section}
<tr>
<td>
- <a href="#" class="crm-hover-button" id="addMoreSoftCredit"><span class="icon ui-icon-circle-plus"></span> {ts}another soft credit{/ts}</a>
+ <a href="#" class="crm-hover-button" id="addMoreSoftCredit"><i class="crm-i fa-plus-circle"></i> {ts}another soft credit{/ts}</a>
</td>
</tr>
</table>
{if NOT ($action eq 1 or $action eq 2) }
<table class="form-layout-compressed">
<tr>
- <td><a href="{$newPageURL}" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Contribution Page{/ts}</span></a></td>
+ <td><a href="{$newPageURL}" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Contribution Page{/ts}</span></a></td>
<td style="vertical-align: top"><a class="button" href="{crmURL p="civicrm/admin/pcp" q="reset=1"}"><span>{ts}Manage Personal Campaign Pages{/ts}</span></a> {help id="id-pcp-intro" file="CRM/PCP/Page/PCP.hlp"}</td>
</tr>
</table>
<a href="{$configPagesURL}" class="button no-popup"><span>{ts}Manage Contribution Pages{/ts}</span></a>
</td>
<td>
- <a href="{$newPageURL}" class="button no-popup"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Contribution Page{/ts}</span></a>
+ <a href="{$newPageURL}" class="button no-popup"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Contribution Page{/ts}</span></a>
</td>
</tr>
</table>
{if $paymentInfo.paid > 0}
{$paymentInfo.paid|crmMoney}<br/>
<a class="crm-hover-button action-item crm-popup medium-popup" href='{crmURL p="civicrm/payment" q="view=transaction&cid=`$cid`&id=`$paymentInfo.id`&component=`$paymentInfo.component`&action=browse"}'>
- <span class="icon ui-icon-zoomin"></span>
+ <i class="crm-i fa-list"></i>
{ts}view payments{/ts}
</a>
{/if}
{elseif $paymentInfo.balance < 0}
{assign var=paymentButtonName value='Record Refund'}
{/if}
- <a class="action-item crm-hover-button" href='{crmURL p="civicrm/payment" q="action=add&reset=1&component=`$component`&id=`$id`&cid=`$cid`"}'><span class="icon ui-icon-circle-plus"></span> {ts}{$paymentButtonName}{/ts}</a>
+ <a class="action-item crm-hover-button" href='{crmURL p="civicrm/payment" q="action=add&reset=1&component=`$component`&id=`$id`&cid=`$cid`"}'><i class="crm-i fa-plus-circle"></i> {ts}{$paymentButtonName}{/ts}</a>
{/if}
{/if}
{if $action eq 16 and $permission EQ 'edit'}
<div class="action-link">
- <a accesskey="N" href="{$newContribURL}" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Record Contribution (Check, Cash, EFT ...){/ts}</span></a>
+ <a accesskey="N" href="{$newContribURL}" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Record Contribution (Check, Cash, EFT ...){/ts}</span></a>
{if $newCredit}
- <a accesskey="N" href="{$newCreditURL}" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Submit Credit Card Contribution{/ts}</span></a>
+ <a accesskey="N" href="{$newCreditURL}" class="button"><span><i class="crm-i fa-credit-card"></i> {ts}Submit Credit Card Contribution{/ts}</span></a>
{/if}
<br /><br />
</div>
{if $cd_edit.is_multiple and ( ( $cd_edit.max_multiple eq '' ) or ( $cd_edit.max_multiple > 0 and $cd_edit.max_multiple > $cgCount ) ) }
<div id="add-more-link-{$cgCount}" class="add-more-link-{$group_id} add-more-link-{$group_id}-{$cgCount}">
<a href="#" class="crm-hover-button" onclick="CRM.buildCustomData('{$cd_edit.extends}',{if $cd_edit.subtype}'{$cd_edit.subtype}'{else}'{$cd_edit.extends_entity_column_id}'{/if}, '', {$cgCount}, {$group_id}, true ); return false;">
- <span class="icon ui-icon-circle-plus"></span>
+ <i class="crm-i fa-plus-circle"></i>
{ts 1=$cd_edit.title}Another %1 record{/ts}
</a>
</div>
{else}
<div id="add-more-link-{$cgCount}">
<a href="#" class="crm-hover-button" onclick="CRM.buildCustomData('{$cd_edit.extends}',{if $cd_edit.subtype}'{$cd_edit.subtype}'{else}'{$cd_edit.extends_entity_column_id}'{/if}, '', {$cgCount}, {$group_id}, true ); return false;">
- <span class="icon ui-icon-circle-plus"></span>
+ <i class="crm-i fa-plus-circle"></i>
{ts 1=$cd_edit.title}Another %1 record{/ts}
</a>
</div>
<tr>
<td>
<a href="{$newCaseURL}" class="button">
- <span><div class="icon ui-icon-circle-plus"></div> {ts}New Case{/ts}</span>
+ <span><i class="crm-i fa-plus-circle"></i> {ts}New Case{/ts}</span>
</a>
</td>
</tr>
{capture assign=htmlFeed}{crmURL p='civicrm/event/ical' q="reset=1&list=1&html=1" fe=1 a=1}{/capture}
{if $eventSummary.total_events}
- <div class="float-right">
- <table class="form-layout-compressed">
- <tr>
- <td><a href="{$configPagesURL}" class="button no-popup"><span>{ts}Manage Events{/ts}</span></a></td>
- <td><a href="{$newEventURL}" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}New Event{/ts}</span></a></td>
- </tr>
- </table>
- </div>
- <h3>{ts}Event Summary{/ts} {help id="id-event-intro"} <a href="{$htmlFeed}" target="_blank" title="{ts}HTML listing of current and future public events.{/ts}"><img src="{$config->resourceBase}i/applications-internet.png" alt="{ts}HTML listing of current and future public events.{/ts}" /></a> <a href="{$rssFeed}" target="_blank" title="{ts}Get RSS 2.0 feed for current and future public events.{/ts}"><img src="{$config->resourceBase}i/feed-icon.png" alt="{ts}Get RSS 2.0 feed for current and future public events.{/ts}" /></a> <a href="{$icalFile}" title="{ts}Download iCalendar file for current and future public events.{/ts}"><img src="{$config->resourceBase}i/office-calendar.png" alt="{ts}Download iCalendar file for current and future public events.{/ts}" /></a> <a href="{$icalFeed}" target="_blank" title="{ts}Get iCalendar feed for current and future public events.{/ts}"><img src="{$config->resourceBase}i/ical_feed.gif" alt="{ts}Get iCalendar feed for current and future public events.{/ts}" /></a></h3>
+ <a href="{$configPagesURL}" class="button no-popup"><span><i class="crm-i fa-th-list"></i> {ts}Manage Events{/ts}</span></a>
+ <a href="{$newEventURL}" class="button"><span><i class="crm-i fa-calendar-plus-o"></i> {ts}New Event{/ts}</span></a>
+ <div class="clear"> </div>
+ <h3 id="crm-event-dashboard-heading">{ts}Event Summary{/ts}
+ {help id="id-event-intro"}
+ <a href="{$htmlFeed}" target="_blank" title="{ts}HTML listing of current and future public events.{/ts}" class="crm-event-feed-link"><i class="crm-i fa-lg fa-calendar"></i></a>
+ <a href="{$rssFeed}" target="_blank" title="{ts}Get RSS 2.0 feed for current and future public events.{/ts}" class="crm-event-feed-link"><i class="crm-i fa-lg fa-rss"></i></a>
+ <a href="{$icalFile}" title="{ts}Download iCalendar file for current and future public events.{/ts}" class="crm-event-feed-link"><i class="crm-i fa-lg fa-download"></i></a>
+ <a href="{$icalFeed}" target="_blank" title="{ts}Get iCalendar feed for current and future public events.{/ts}" class="crm-event-feed-link"><i class="crm-i fa-lg fa-calendar-o"></i></a></h3>
{include file="CRM/common/jsortable.tpl"}
<table id="options" class="display">
<thead>
{capture assign=rssFeed}{crmURL p='civicrm/event/ical' q="reset=1&list=1&rss=1" fe=1}{/capture}
{capture assign=htmlFeed}{crmURL p='civicrm/event/ical' q="reset=1&list=1&html=1" fe=1}{/capture}
<div class="float-right">
- <a href="{$htmlFeed}" target="_blank" title="{ts}HTML listing of current and future public events.{/ts}">
- <img src="{$config->resourceBase}i/applications-internet.png"
- alt="{ts}HTML listing of current and future public events.{/ts}" />
- </a>
- <a href="{$rssFeed}" target="_blank" title="{ts}Get RSS 2.0 feed for current and future public events.{/ts}">
- <img src="{$config->resourceBase}i/feed-icon.png"
- alt="{ts}Get RSS 2.0 feed for current and future public events.{/ts}" />
- </a>
- <a href="{$icalFile}" title="{ts}Download iCalendar file for current and future public events.{/ts}">
- <img src="{$config->resourceBase}i/office-calendar.png"
- alt="{ts}Download iCalendar file for current and future public events.{/ts}" />
- </a>
- <a href="{$icalFeed}" target="_blank" title="{ts}Get iCalendar feed for current and future public events.{/ts}">
- <img src="{$config->resourceBase}i/ical_feed.gif"
- alt="{ts}Get iCalendar feed for current and future public events.{/ts}" />
- </a> {help id='icalendar'}
+ <a href="{$htmlFeed}" target="_blank" title="{ts}HTML listing of current and future public events.{/ts}" class="crm-event-feed-link"><i class="crm-i fa-lg fa-calendar"></i></a>
+ <a href="{$rssFeed}" target="_blank" title="{ts}Get RSS 2.0 feed for current and future public events.{/ts}" class="crm-event-feed-link"><i class="crm-i fa-lg fa-rss"></i></a>
+ <a href="{$icalFile}" title="{ts}Download iCalendar file for current and future public events.{/ts}" class="crm-event-feed-link"><i class="crm-i fa-lg fa-download"></i></a>
+ <a href="{$icalFeed}" target="_blank" title="{ts}Get iCalendar feed for current and future public events.{/ts}" class="crm-event-feed-link"><i class="crm-i fa-lg fa-calendar-o"></i></a>
+ {help id='icalendar'}
</div>
{include file="CRM/Event/Form/SearchEvent.tpl"}
<div class="action-link">
<a accesskey="N" href="{$newEventURL}" id="newManageEvent" class="button crm-popup">
- <span><div class="icon ui-icon-circle-plus"></div>{ts}Add Event{/ts}</span>
+ <span><i class="crm-i fa-calendar-plus-o"></i> {ts}Add Event{/ts}</span>
</a>
<div class="clear"></div>
</div>
</div>
{if $action eq 16 and $permission EQ 'edit'}
<div class="action-link">
- <a accesskey="N" href="{$newEventURL}" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Event Registration{/ts}</span></a>
+ <a accesskey="N" href="{$newEventURL}" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Event Registration{/ts}</span></a>
{if $accessContribution and $newCredit}
- <a accesskey="N" href="{$newCreditURL}" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Submit Credit Card Event Registration{/ts}</a></span>
+ <a accesskey="N" href="{$newCreditURL}" class="button"><span><i class="crm-i fa-credit-card"></i> {ts}Submit Credit Card Event Registration{/ts}</a></span>
{/if}
<br/ ><br/ >
</div>
{* Financial search component. *}
<div id="enableDisableStatusMsg" class="crm-container" style="display:none"></div>
<div class="crm-submit-buttons">
- <a accesskey="N" href="{crmURL p='civicrm/financial/batch' q="reset=1&action=add&context=$batchStatus"}" id="newBatch" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}New Accounting Batch{/ts}</span></a>
+ <a accesskey="N" href="{crmURL p='civicrm/financial/batch' q="reset=1&action=add&context=$batchStatus"}" id="newBatch" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}New Accounting Batch{/ts}</span></a>
</div>
<div class="crm-form-block crm-search-form-block">
<div class="crm-accordion-wrapper crm-activity_search-accordion">
</div>
{if $action ne 1 and $action ne 2}
<div class="action-link">
- <a href="{crmURL q="action=add&reset=1"}" id="newFinancialAccount-top" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Financial Account{/ts}</span></a>
+ <a href="{crmURL q="action=add&reset=1"}" id="newFinancialAccount-top" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Financial Account{/ts}</span></a>
</div>
{/if}
{if $action ne 1 and $action ne 2}
<div class="action-link">
- <a href="{crmURL q="action=add&reset=1"}" id="newFinancialAccount-bottom" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Financial Account{/ts}</span></a>
+ <a href="{crmURL q="action=add&reset=1"}" id="newFinancialAccount-bottom" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Financial Account{/ts}</span></a>
</div>
{/if}
</div>
</div>
{if $action eq 16 and $permission EQ 'edit'}
<div class="action-link">
- <a href="{$newGrantURL}" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Grant{/ts}</span></a><br/><br/>
+ <a href="{$newGrantURL}" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Grant{/ts}</span></a><br/><br/>
</div>
{/if}
{if $rows}
{* Actions: 1=add, 2=edit, browse=16, delete=8 *}
{if $action ne 1 and $action ne 2 and $action ne 8 and $groupPermission eq 1}
<div class="crm-submit-buttons">
- <a accesskey="N" href="{crmURL p='civicrm/group/add' q='reset=1'}" class="newGroup button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Group{/ts}</span></a><br/>
+ <a accesskey="N" href="{crmURL p='civicrm/group/add' q='reset=1'}" class="newGroup button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Group{/ts}</span></a><br/>
</div>
{/if} {* action ne add or edit *}
<div class="crm-block crm-content-block">
{if $action ne 1 and $action ne 2 and $action ne 8 and $groupPermission eq 1}
<div class="crm-submit-buttons">
- <a accesskey="N" href="{crmURL p='civicrm/group/add' q='reset=1'}" class="newGroup button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Group{/ts}</span></a><br/>
+ <a accesskey="N" href="{crmURL p='civicrm/group/add' q='reset=1'}" class="newGroup button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Group{/ts}</span></a><br/>
</div>
{/if} {* action ne add or edit *}
</div>
</div>
<div class="action-link">
- <a accesskey="N" href="{$newURL}" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Membership{/ts}</span></a>
+ <a accesskey="N" href="{$newURL}" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Membership{/ts}</span></a>
{if $accessContribution and $newCredit}
- <a accesskey="N" href="{$newCreditURL}" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Submit Credit Card Membership{/ts}</span></a><br /><br />
+ <a accesskey="N" href="{$newCreditURL}" class="button"><span><i class="crm-i fa-credit-card"></i> {ts}Submit Credit Card Membership{/ts}</span></a><br /><br />
{else}
<br/ ><br/ >
{/if}
{if $action eq 16 and $permission EQ 'edit'}
<div class="action-link">
- <a accesskey="N" href="{$newContribURL}" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Pledge{/ts}</a></span>
+ <a accesskey="N" href="{$newContribURL}" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Pledge{/ts}</a></span>
<br/><br/>
</div>
{/if}
<div class="action-link">
{if $pageViewType eq 'customDataView'}
<br/><a accesskey="N" title="{ts 1=$customGroupTitle}Add %1 Record{/ts}" href="{crmURL p='civicrm/contact/view/cd/edit' q="reset=1&type=$ctype&groupID=$customGroupId&entityID=$contactId&cgcount=$cgcount&multiRecordDisplay=single&mode=add"}"
- class="button action-item"><span><div class="icon ui-icon-circle-plus"></div>{ts 1=$customGroupTitle}Add %1 Record{/ts}</span></a>
+ class="button action-item"><span><i class="crm-i fa-plus-circle"></i> {ts 1=$customGroupTitle}Add %1 Record{/ts}</span></a>
{else}
<a accesskey="N" href="{crmURL p='civicrm/profile/edit' q="reset=1&id=`$contactId`&multiRecord=add&gid=`$gid`&context=multiProfileDialog&onPopupClose=`$onPopupClose`"}"
- class="button action-item"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add New Record{/ts}</span></a>
+ class="button action-item"><span><i class="crm-i fa-plus-circle"></i> {ts}Add New Record{/ts}</span></a>
{/if}
</div>
<br />
{strip}
<div class="action-link">
{if $templateUrl}
- <a href="{$templateUrl}" class="button"><span><div class="icon ui-icon-circle-plus"></div> {$newButton}</span></a>
+ <a href="{$templateUrl}" class="button"><span><i class="crm-i fa-plus-circle"></i> {$newButton}</span></a>
{/if}
{if $reportUrl}
<a href="{$reportUrl}" class="button"><span>{ts}View All Reports{/ts}</span></a>
<div class="action-link">
{if $templateUrl}
- <a href="{$templateUrl}" class="button"><span><div class="icon ui-icon-circle-plus"></div> {$newButton}</span></a>
+ <a href="{$templateUrl}" class="button"><span><i class="crm-i fa-plus-circle"></i> {$newButton}</span></a>
{/if}
{if $reportUrl}
<a href="{$reportUrl}" class="button"><span>{ts}View All Reports{/ts}</span></a>
</div>
{if $action ne 1 and $action ne 2}
<div class="action-link">
- <a href="{$newReport}" id="new"|cat:$GName class="button"><span><div class="icon ui-icon-circle-plus"></div> {ts 1=$GName}Register New %1{/ts}</span></a>
+ <a href="{$newReport}" id="new"|cat:$GName class="button"><span><i class="crm-i fa-plus-circle"></i> {ts 1=$GName}Register New %1{/ts}</span></a>
</div>
<div class="spacer"></div>
{/if}
{if $action ne 1 and $action ne 2}
<div class="action-link">
- <a href="{$newReport}" id="new"|cat:$GName class="button"><span><div class="icon ui-icon-circle-plus"></div> {ts 1=$GName}Register New %1{/ts}</span></a>
+ <a href="{$newReport}" id="new"|cat:$GName class="button"><span><i class="crm-i fa-plus-circle"></i> {ts 1=$GName}Register New %1{/ts}</span></a>
</div>
{/if}
</div>
{if NOT ($action eq 1 or $action eq 2)}
<div class="crm-submit-buttons">
- <a href="{crmURL p='civicrm/admin/uf/group/add' q="action=add&reset=1"}" id="newCiviCRMProfile-top" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Profile{/ts}</span></a>
+ <a href="{crmURL p='civicrm/admin/uf/group/add' q="action=add&reset=1"}" id="newCiviCRMProfile-top" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Profile{/ts}</span></a>
</div>
{/if}
{if $rows}
{if NOT ($action eq 1 or $action eq 2)}
<div class="crm-submit-buttons">
- <a href="{crmURL p='civicrm/admin/uf/group/add' q='action=add&reset=1'}" id="newCiviCRMProfile-bottom" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Profile{/ts}</span></a>
+ <a href="{crmURL p='civicrm/admin/uf/group/add' q='action=add&reset=1'}" id="newCiviCRMProfile-bottom" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Profile{/ts}</span></a>
</div>
{/if}
</div>
{if NOT ($action eq 1 or $action eq 2)}
<div class="crm-submit-buttons">
- <a href="{crmURL p='civicrm/admin/uf/group/add' q='action=add&reset=1'}" id="newCiviCRMProfile-bottom" class="button"><span><div class="icon ui-icon-circle-plus"></div>{ts}Add Profile{/ts}</span></a>
+ <a href="{crmURL p='civicrm/admin/uf/group/add' q='action=add&reset=1'}" id="newCiviCRMProfile-bottom" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Profile{/ts}</span></a>
</div>
{/if}
</div>