[Rt-commit] rt branch, 4.4-trunk, updated. rt-4.4.4-258-g0cca648652

? sunnavy sunnavy at bestpractical.com
Tue Mar 9 16:15:20 EST 2021


The branch, 4.4-trunk has been updated
       via  0cca648652c29d40439f92c5364065b097de6b90 (commit)
      from  97297bef4ba94ab2edefbc79c0e6548c5d27931d (commit)

Summary of changes:
 share/html/SelfService/User/Elements/RelatedData | 6 +++---
 share/html/User/Elements/RelatedData             | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

- Log -----------------------------------------------------------------
commit 0cca648652c29d40439f92c5364065b097de6b90
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Mar 10 05:01:43 2021 +0800

    Add the missing WebPath to user RelatedData urls

diff --git a/share/html/SelfService/User/Elements/RelatedData b/share/html/SelfService/User/Elements/RelatedData
index dee238e1f1..74ed442841 100644
--- a/share/html/SelfService/User/Elements/RelatedData
+++ b/share/html/SelfService/User/Elements/RelatedData
@@ -53,15 +53,15 @@
 <div>
 <div id="download-my-data" class="inline-row">
     <div class="inline-cell">
-        <a href="/SelfService/User/RelatedData.tsv?Type=User&id=<% $UserObj->id %>" class="button"><% $UserDataButton %></a>
+        <a href="<%RT->Config->Get('WebPath')%>/SelfService/User/RelatedData.tsv?Type=User&id=<% $UserObj->id %>" class="button"><% $UserDataButton %></a>
         <i class="label"><&|/l&>Base user data</&></i>
     </div>
     <div class="inline-cell">
-        <a href="/SelfService/Search/Results.tsv?UserData=1&Query=Requestor.id=<% $UserObj->id %>&Format=<% $Format | un %>" class="button"><% $UserTicketsButton %></a>
+        <a href="<%RT->Config->Get('WebPath')%>/SelfService/Search/Results.tsv?UserData=1&Query=Requestor.id=<% $UserObj->id %>&Format=<% $Format | un %>" class="button"><% $UserTicketsButton %></a>
         <i class="label"><&|/l&>Tickets with you as a requestor</&></i>
     </div>
     <div class="inline-cell">
-        <a href="/SelfService/User/RelatedData.tsv?Type=Transaction&id=<% $UserObj->id %>" class="button"><% $UserTxnButton %></a>
+        <a href="<%RT->Config->Get('WebPath')%>/SelfService/User/RelatedData.tsv?Type=Transaction&id=<% $UserObj->id %>" class="button"><% $UserTxnButton %></a>
         <i class="label"><&|/l&>Replies you sent</&></i>
     </div>
 </div>
diff --git a/share/html/User/Elements/RelatedData b/share/html/User/Elements/RelatedData
index a1d29074a9..46757811c1 100644
--- a/share/html/User/Elements/RelatedData
+++ b/share/html/User/Elements/RelatedData
@@ -54,15 +54,15 @@
     <div class="title"><&|/l&>Download User Information</&></div>
     <div class="download-user-data-buttons inline-row">
         <div class="inline-cell">
-            <a class="button" href="/User/RelatedData.tsv?Type=User&id=<% $UserObj->id %>"><% $UserDataButton %></a>
+            <a class="button" href="<%RT->Config->Get('WebPath')%>/User/RelatedData.tsv?Type=User&id=<% $UserObj->id %>"><% $UserDataButton %></a>
             <i class="label"><&|/l&>Core user data</&></i>
         </div>
         <div class="inline-cell">
-            <a class="button" href="/Search/Results.tsv?UserData=1&Query=Requestor.id=<% $UserObj->id %>&Format=<% $Format | un %>"><% $UserTicketsButton %></a>
+            <a class="button" href="<%RT->Config->Get('WebPath')%>/Search/Results.tsv?UserData=1&Query=Requestor.id=<% $UserObj->id %>&Format=<% $Format | un %>"><% $UserTicketsButton %></a>
             <i class="label"><&|/l&>Tickets with this user as a requestor</&></i>
         </div>
         <div class="inline-cell">
-            <a class="button" href="/User/RelatedData.tsv?Type=Transaction&id=<% $UserObj->id %>"><% $UserTxnButton %></a>
+            <a class="button" href="<%RT->Config->Get('WebPath')%>/User/RelatedData.tsv?Type=Transaction&id=<% $UserObj->id %>"><% $UserTxnButton %></a>
             <i class="label"><&|/l&>Ticket transactions this user created</&></i>
         </div>
     </div>

-----------------------------------------------------------------------


More information about the rt-commit mailing list