X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FCase%2FForm%2FCaseView.tpl;h=af815849889c218de0d8602a8471e636aee87fd9;hb=4284f98f66c24f7093f613e593e956f13585cdf0;hp=6b90eaaff0c0cb4451518ed8f7f835632dad1232;hpb=1402214831d2d4d296fc7d58c5c26678211745e9;p=civicrm-core.git diff --git a/templates/CRM/Case/Form/CaseView.tpl b/templates/CRM/Case/Form/CaseView.tpl index 6b90eaaff0..af81584988 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,10 +147,21 @@ {if $hasAccessToAllCases}
-
{ts}Add new role{/ts}
+
{ts}Add new role{/ts}
+
+
+
{$form.role_type.label}
+
{$form.role_type.html}

+
+
{/if} +
+
+
+
+ @@ -164,39 +174,18 @@
{ts}Case Role{/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} -
+
{$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 +477,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 *}