X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FCase%2FForm%2FCaseView.tpl;h=010778b3aec62b1f363d07033702c1bab55b1c61;hb=a5d44edbee5498fa4195c5f3571db6b820185fa8;hp=6b90eaaff0c0cb4451518ed8f7f835632dad1232;hpb=504e40d849d89dffb3d851e49cbb92c4d7b70795;p=civicrm-core.git diff --git a/templates/CRM/Case/Form/CaseView.tpl b/templates/CRM/Case/Form/CaseView.tpl index 6b90eaaff0..010778b3ae 100644 --- a/templates/CRM/Case/Form/CaseView.tpl +++ b/templates/CRM/Case/Form/CaseView.tpl @@ -1,8 +1,8 @@ {* +--------------------------------------------------------------------+ - | CiviCRM version 4.4 | + | CiviCRM version 4.5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2013 | + | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -43,9 +43,12 @@ {foreach from=$caseRoles.client item=client name=clients} {$client.display_name}{if not $smarty.foreach.clients.last},   {/if} {/foreach} - - + + +
+ +
{if $hasRelatedCases} {/if} @@ -102,40 +105,36 @@ {/if} - - - - {if $hasAccessToAllCases} - - - - - - {else} - - {/if} - +
+
+

+ {$form.add_activity_type_id.html} + {if $hasAccessToAllCases}   + {$form.timeline_id.html}{$form._qf_CaseView_next.html}   + {$form.report_id.html} + {/if} +

+
+
+

+ {if $hasAccessToAllCases} + {ts}Print Report{/ts} + {/if} - {if $mergeCases} -

- - - {/if} + {/if} - {if call_user_func(array('CRM_Core_Permission','giveMeAllACLs'))} - - - - {/if} -
{$form.add_activity_type_id.html} - {ts}Print Report{/ts} -
{$form.timeline_id.label}
{$form.timeline_id.html} {$form._qf_CaseView_next.html}
{$form.report_id.label}
{$form.report_id.html} 
{ts}Merge Case{/ts} - - {$form.merge_case_id.html} {$form._qf_CaseView_next_merge_case.html} + {if $mergeCases} + {ts}Merge Case{/ts} + {$form._qf_CaseView_next_merge_case.html} + + {$form.merge_case_id.html} -
- {ts}Assign to Another Contact{/ts} -
+ {if call_user_func(array('CRM_Core_Permission','giveMeAllACLs'))} + {ts}Assign to Another Client{/ts} + {/if} +

+ +
{include file="CRM/Case/Page/CustomDataView.tpl"} @@ -148,11 +147,22 @@ {if $hasAccessToAllCases}
-
{ts}Add new role{/ts}
+
{ts}Add new role{/ts}
+
+
+
{$form.role_type.label}
+
{$form.role_type.html}

+
+
{/if} - +
+
+
+
+ +
@@ -164,247 +174,75 @@
{ts}Case Role{/ts} {ts}Name{/ts}
+
+ {ts}Are you sure you want to delete this case role?{/ts} +
+ {literal} {/literal} -
- {ts}Begin typing last name of contact.{/ts}
- - -
- -{literal} - -{/literal} {if $hasAccessToAllCases} - +
@@ -435,254 +273,152 @@ {/if} {literal} {/literal}
- - {if $globalRelationships} + {if !empty($globalGroupInfo.id)}
- -
{ts 1=$globalGroupInfo.title}Add members to %1{/ts}
+ +
{ts 1=$globalGroupInfo.title}Add members to %1{/ts} +
+
+
+
-
{ts}Client Relationship{/ts} {ts}Name{/ts}
+
{$globalGroupInfo.title} {ts}Phone{/ts} {ts}Email{/ts}
- {elseif $globalGroupInfo.id} -
-
  - {capture assign=crmURL}{crmURL p='civicrm/group/search' q="reset=1&context=amtg&amtgID=`$globalGroupInfo.id`"}{/capture} - {ts 1=$crmURL 2=$globalGroupInfo.title}The group %2 has no members. You can add one.{/ts} -
{/if} {literal} {/literal} {/if} {* other relationship section ends *} - -
-{$form.role_type.label}
-{$form.role_type.html} -

- {ts}Begin typing last name of contact.{/ts}
- - -
- -{literal} - -{/literal} {include file="CRM/Case/Form/ActivityToCase.tpl"} {* pane to display / edit regular tags or tagsets for cases *} @@ -699,7 +435,7 @@ function addRole() { {assign var="tagExits" value=1} {/if} - {foreach from=$tagsetInfo_case item=displayTagset} + {foreach from=$tagsetInfo.case item=displayTagset} {if $displayTagset.entityTagsArray}
  {$displayTagset.parentName}: @@ -718,17 +454,17 @@ function addRole() { {/if}
- {if $tagExits}{ts}Edit Tags{/ts}{else}{ts}Add Tags{/ts}{/if} + {if $tagExits}{ts}Edit Tags{/ts}{else}{ts}Add Tags{/ts}{/if}
-
+
{$form.case_tag.label}
{$form.case_tag.html}

-
{include file="CRM/common/Tag.tpl" tagsetType='case'}
+
{include file="CRM/common/Tagset.tpl" tagsetType='case'}

@@ -736,194 +472,10 @@ function addRole() { {/if} {* end of tag block*} -
-
- {ts}Activities{/ts} -
-
- - - - - - - - - - - - - -
{ts}Date{/ts}{ts}Subject{/ts}{ts}Type{/ts}{ts}With{/ts}{ts}Reporter / Assignee{/ts}{ts}Status{/ts}  
- -
-
- -{literal} - -{/literal} +{include file="CRM/Case/Form/ActivityTab.tpl"}
{include file="CRM/common/formButtons.tpl" location="bottom"}
-{literal} - -{/literal} - {include file="CRM/Case/Form/ActivityChangeStatusJs.tpl"} {/if} {* view related cases if end *}