[Rt-commit] rtir branch 5.0-trunk updated. 5.0.1-59-g7e51d976

BPS Git Server git at git.bestpractical.com
Thu Dec 23 21:04:42 UTC 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rtir".

The branch, 5.0-trunk has been updated
       via  7e51d976198b0515f2ccd9465b8065cb9c03d7c5 (commit)
       via  31afbefb756df30f3f2d483aad28011e62066bc0 (commit)
      from  4bbd878e59f0fc2ceedc6f4e63fd8a1edea63e05 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7e51d976198b0515f2ccd9465b8065cb9c03d7c5
Merge: 4bbd878e 31afbefb
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Dec 23 15:59:05 2021 -0500

    Merge branch '5.0/add-ticket-id-to-back-to-page-menus' into 5.0-trunk


commit 31afbefb756df30f3f2d483aad28011e62066bc0
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Nov 11 04:59:30 2021 +0800

    Add ticket id info to "Back to ..." search page menus
    
    Previously, once you landed on the query builder interface
    to refine your search, it wasn't clear where this tab
    would take you. Adding the id to the label makes it more
    obvious that link will take you back where you came from.

diff --git a/html/Callbacks/RTIR/Elements/Tabs/Privileged b/html/Callbacks/RTIR/Elements/Tabs/Privileged
index eabfbde0..72fdde02 100644
--- a/html/Callbacks/RTIR/Elements/Tabs/Privileged
+++ b/html/Callbacks/RTIR/Elements/Tabs/Privileged
@@ -119,13 +119,13 @@ if ( $m->request_comp->path =~ m{^/Search/} ) {
 
         if ( my $results = PageMenu()->child('results') ) {
             if ( $results->path =~ m{^/RTIR/Incident/Reply/} ) {
-                $results->title( loc('Back to Incident Reply') );
+                $results->title( loc('Back to Incident Reply #[_1]', $args{id}) );
             }
             elsif ( $results->path =~ m{^/RTIR/Link/} ) {
-                $results->title( loc('Back to Link') );
+                $results->title( loc('Back to Link #[_1]', $args{id}) );
             }
             elsif ( $results->path =~ m{^/RTIR/Merge/} ) {
-                $results->title( loc('Back to Merge') );
+                $results->title( loc('Back to Merge #[_1]', $args{id}) );
             }
         }
     }

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

Summary of changes:
 html/Callbacks/RTIR/Elements/Tabs/Privileged | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
rtir


More information about the rt-commit mailing list