From 799096d5caef280f3b45857c4f878a2eb5a2b2e1 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 3 Oct 2014 17:29:54 -0400 Subject: [PATCH] Remove obsolete HRDCase templates --- templates/CRM/HRDCase/Form/Case.tpl | 150 -------------------- templates/CRM/HRDCase/Form/CaseActivity.tpl | 51 ------- templates/CRM/HRDCase/Form/CaseView.tpl | 44 ------ 3 files changed, 245 deletions(-) delete mode 100644 templates/CRM/HRDCase/Form/Case.tpl delete mode 100644 templates/CRM/HRDCase/Form/CaseActivity.tpl delete mode 100644 templates/CRM/HRDCase/Form/CaseView.tpl diff --git a/templates/CRM/HRDCase/Form/Case.tpl b/templates/CRM/HRDCase/Form/Case.tpl deleted file mode 100644 index 1b7ad5413c..0000000000 --- a/templates/CRM/HRDCase/Form/Case.tpl +++ /dev/null @@ -1,150 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.5 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -{* this template is used for adding/editing/deleting case *} -{if $addCaseContact } - {include file="CRM/Contact/Form/AddContact.tpl"} -{else} - -
-{if $action eq 1} - {ts}New Case{/ts} -{elseif $action eq 2} - {ts}Edit Case{/ts} -{elseif $action eq 8 and !$context} - {ts}Delete Case{/ts} -{elseif $action eq 8 and $context} - {ts}Detach Activity From Case{/ts} -{/if} -
- - - {if $action eq 8 and $context} -
{ts}Are you sure you want to detach this case from Activity?{/ts}
- {elseif $action eq 8 and !$context} -
{ts}Are you sure you want to delete this case?{/ts} {ts}This action cannot be undone.{/ts}
- {else} - - - - - - - {if $action neq 4 and $search eq false} - - - - - {else} - - {/if} - - - - - - - - - {/if} - {* for add / edit form buttons *} - - -
{$form.subject.label}{$form.subject.html}
 {ts}Enter the case subject{/ts}
{$form.status_id.label}{$form.status_id.html}
 {ts}Select the status for this case{/ts}
{ts}Add To {/ts}{$currentlyViewedContact}
{ts}Add More {/ts} - - {edit}{ts}You can optionally add this case to someone. Added case will appear in their Contact Dashboard.{/ts}{/edit} - {ts}Add To {/ts}{$caseContacts}
{$form.case_type_id.label}{$form.case_type_id.html}
 {ts}Select the appropriate type of the case {/ts}
{$form.start_date.label}{$form.start_date.html} - {include file="CRM/common/calendar/desc.tpl" trigger=trigger_case_1} - {include file="CRM/common/calendar/body.tpl" dateVar=start_date offset=10 trigger=trigger_case_1} -
{$form.end_date.label}{$form.end_date.html} - {include file="CRM/common/calendar/desc.tpl" trigger=trigger_case_2} - {include file="CRM/common/calendar/body.tpl" dateVar=end_date offset=10 trigger=trigger_case_2} -
{$form.details.label}{$form.details.html}
 {$form.buttons.html}
-
-
- -{* Build add contact *} -{literal} - - -{/literal} -{/if} diff --git a/templates/CRM/HRDCase/Form/CaseActivity.tpl b/templates/CRM/HRDCase/Form/CaseActivity.tpl deleted file mode 100644 index e9ba396556..0000000000 --- a/templates/CRM/HRDCase/Form/CaseActivity.tpl +++ /dev/null @@ -1,51 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.5 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -{* Template for Case Activity Selector to be shown on Show Case Page *} - - - - - - - - - - - - - {foreach from=$activities item=activity} - - - - - - - - - - - {/foreach} -
{ts}Activity Type{/ts}{ts}To{/ts}{ts}From{/ts}{ts}Regarding{/ts}{ts}Case{/ts}{ts}Type{/ts}{ts}Start Date{/ts}
{$activity.activity_type}{$activity.to_contact}{$activity.sourceName}{$activity.targetName}{$form.subject.html}{$activity.case_activity_type}{$activity.start_date|crmDate}{$activity.action}
diff --git a/templates/CRM/HRDCase/Form/CaseView.tpl b/templates/CRM/HRDCase/Form/CaseView.tpl deleted file mode 100644 index 27eb13df95..0000000000 --- a/templates/CRM/HRDCase/Form/CaseView.tpl +++ /dev/null @@ -1,44 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.5 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -{* this template is used for adding/editing/deleting case *} -
-
- {ts}View Case Record Details{/ts} -
-
{ts}Name{/ts}
{$contactNames} 
-
{$form.subject.label}
{$form.subject.html}
-
{$form.status_id.label}
{$form.status_id.html}
-
{$form.case_type_id.label}
{$form.case_type_id.html}
-
{$form.start_date.label}
{$form.start_date.html}
-
{$form.end_date.label}
{$form.end_date.html}
-
{$form.details.label}
{$form.details.html}
-
{$form.buttons.html} -
-
-
-
{include file="CRM/Activity/Selector/Activity.tpl" caseview=1}
-
-
-- 2.25.1