[Rt-commit] rt branch, 5.0/add-more-ticket-info-on-transaction-display-page, created. rt-5.0.0-206-g9e1b1f11f6

Blaine Motsinger blaine at bestpractical.com
Thu Jan 7 18:52:09 EST 2021


The branch, 5.0/add-more-ticket-info-on-transaction-display-page has been created
        at  9e1b1f11f6d03f68d5fffec24760d8bbdfb6db81 (commit)

- Log -----------------------------------------------------------------
commit 9e1b1f11f6d03f68d5fffec24760d8bbdfb6db81
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Thu Jan 7 17:33:56 2021 -0600

    Add more ticket info to transaction display page
    
    This commit adds the ticket id and subject to the header line of
    the ticket transaction display page.

diff --git a/share/html/Transaction/Display.html b/share/html/Transaction/Display.html
index f930f378b2..441cd184fe 100644
--- a/share/html/Transaction/Display.html
+++ b/share/html/Transaction/Display.html
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %#
 %# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc('Transaction #[_1]', $id) &>
+<& /Elements/Header, Title => loc('Ticket #[_1] Transaction #[_2]', $txn->TicketObj->id, $id) . ': ' . $txn->TicketObj->Subject &>
 <& /Elements/Tabs &>
 
 <& /Elements/ShowHistoryHeader, Object => $txn, SingleTransaction => 1, %ARGS &>

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


More information about the rt-commit mailing list