summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormark <mark>2011-04-22 21:30:27 +0000
committermark <mark>2011-04-22 21:30:27 +0000
commita149a3e06de92d5be5baf0029414f01d7b35ab71 (patch)
tree832c43748e97e8bd95f1be0f09c06b95ddf7ca45
parent65981360be33c4d4da15a0e731eba85c6a7d140e (diff)
hide ticket customer links, #1165
-rwxr-xr-xrt/share/html/Elements/EditLinks1
-rw-r--r--rt/share/html/Ticket/Elements/ShowParents1
2 files changed, 2 insertions, 0 deletions
diff --git a/rt/share/html/Elements/EditLinks b/rt/share/html/Elements/EditLinks
index 90acb4692..d85a069e6 100755
--- a/rt/share/html/Elements/EditLinks
+++ b/rt/share/html/Elements/EditLinks
@@ -73,6 +73,7 @@
<td class="labeltop"><& ShowRelationLabel, id => $id, Label => loc('Parents'), Relation => 'Parents' &>:</td>
<td class="value">
% while (my $link = $Object->MemberOf->Next) {
+% next if $link->Target and $link->Target =~ m(^freeside://);
<input type="checkbox" class="checkbox" name="DeleteLink--<%$link->Type%>-<%$link->Target%>" value="1" />
<& ShowLink, URI => $link->TargetURI &><br />
% }
diff --git a/rt/share/html/Ticket/Elements/ShowParents b/rt/share/html/Ticket/Elements/ShowParents
index 38c427f49..5c5d2bef9 100644
--- a/rt/share/html/Ticket/Elements/ShowParents
+++ b/rt/share/html/Ticket/Elements/ShowParents
@@ -47,6 +47,7 @@
%# END BPS TAGGED BLOCK }}}
<ul>
% while (my $link = $member_of->Next) {
+% next if $link->Target and $link->Target =~ m(^freeside://);
<li><& /Elements/ShowLink, URI => $link->TargetURI &><br />
% }
</ul>