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

Blaine Motsinger blaine at bestpractical.com
Mon Jan 11 19:09:12 EST 2021


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

- Log -----------------------------------------------------------------
commit e2d34874dc6c3d51214d489ecf2660cf73a52247
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Mon Jan 11 18:08:04 2021 -0600

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

diff --git a/share/html/Transaction/Display.html b/share/html/Transaction/Display.html
index f930f378b2..9bccfc558b 100644
--- a/share/html/Transaction/Display.html
+++ b/share/html/Transaction/Display.html
@@ -45,9 +45,11 @@
 %# 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) &>
 <& /Elements/Tabs &>
 
+<h1 id="transaction-extra-info"><&|/l&>Ticket Subject</&>: <% $txn->TicketObj->Subject %></h1>
+
 <& /Elements/ShowHistoryHeader, Object => $txn, SingleTransaction => 1, %ARGS &>
 
 <& /Elements/ShowTransaction, Transaction => $txn,
diff --git a/share/static/css/elevator-light/misc.css b/share/static/css/elevator-light/misc.css
index fdeb5fb173..e8095bdf9b 100644
--- a/share/static/css/elevator-light/misc.css
+++ b/share/static/css/elevator-light/misc.css
@@ -135,3 +135,9 @@ svg.icon-helper {
 legend {
   font-size: 1rem;
 }
+
+/* transaction display page */
+h1#transaction-extra-info {
+    font-size: 1.4rem;
+    padding-top: 0.4rem;
+}

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


More information about the rt-commit mailing list