From c83c5e51099d0933db68c65603690926356a00a3 Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Sat, 21 Jul 2018 13:45:12 -0400 Subject: [PATCH] Relationship permissions: put icons first when viewing a single relationship --- .../CRM/Contact/Page/View/RelationshipPerm.tpl | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/templates/CRM/Contact/Page/View/RelationshipPerm.tpl b/templates/CRM/Contact/Page/View/RelationshipPerm.tpl index e78ca39a50..a6d6799e37 100644 --- a/templates/CRM/Contact/Page/View/RelationshipPerm.tpl +++ b/templates/CRM/Contact/Page/View/RelationshipPerm.tpl @@ -25,14 +25,6 @@ *} {* Partial for displaying permissions associated with a relationship *} -{if $displayText} -{if $permType eq 1} -{ts 1=$permDisplayName 2=$otherDisplayName}%1 can view and update information about %2.{/ts} -{else} -{ts 1=$permDisplayName 2=$otherDisplayName}%1 can view information about %2.{/ts} -{/if} -{/if} - {if $permType eq 1} {include file="CRM/Contact/Page/View/RelationshipPerm.tpl" permType=2 displayText=false} {/if} @@ -52,6 +44,16 @@ +{* Used for viewing a relationship *} +{if $displayText} +{if $permType eq 1} +{ts 1=$permDisplayName 2=$otherDisplayName}%1 can view and update information about %2.{/ts} +{else} +{ts 1=$permDisplayName 2=$otherDisplayName}%1 can view information about %2.{/ts} +{/if} +{/if} + +{* Used for legend on relationships tab *} {if $afterText} {if $permType eq 1} {ts}This contact can be edited by the other.{/ts} -- 2.25.1