[Rt-commit] [rtir] 02/09: Make a couple more things in the ticket ui linkable

Jesse Vincent jesse at bestpractical.com
Mon Mar 16 02:41:33 EDT 2015


This is an automated email from the git hooks/post-receive script.

jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.

commit 95f0499d727b0b58c642f84f3de144d2457c3d31
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Sun Mar 15 19:41:55 2015 -0700

    Make a couple more things in the ticket ui linkable
---
 html/RTIR/Incident/Create.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/html/RTIR/Incident/Create.html b/html/RTIR/Incident/Create.html
index d313bb1..5582979 100644
--- a/html/RTIR/Incident/Create.html
+++ b/html/RTIR/Incident/Create.html
@@ -91,13 +91,13 @@ if ( $ChildObj && !$ChildObj->CurrentUserHasRight('ModifyTicket') ) {
 <table width="100%" border="0">
 
 % if ( $Split ) {
-<tr><td class="label"><% loc('Split from') %>:</td>
-    <td class="value"><% loc("[_1] #[_2]: [_3]", RT::IR::TicketType(Lifecycle => $SplitObj->QueueObj->Lifecycle), $SplitObj->Id, $SplitObj->Subject) %></td></tr>
+<tr class="split-from"><td class="label"><% loc('Split from') %>:</td>
+    <td class="value"><a href="<%RT::IR->HREFTo('Incident/Display.html?id='.$SplitObj->id)%>"><% loc("[_1] #[_2]: [_3]", RT::IR::TicketType(Lifecycle => $SplitObj->QueueObj->Lifecycle), $SplitObj->Id, $SplitObj->Subject) %></a></td></tr>
 % }
 
 % if ( $ChildObj ) {
-<tr><td class="label"><% loc('Link with') %>:</td>
-    <td class="value"><% loc("[_1] #[_2]: [_3]",  RT::IR::TicketType(Lifecycle => $ChildObj->QueueObj->Lifecycle), $ChildObj->Id, $ChildObj->Subject) %></td></tr>
+<tr class="link-with"><td class="label"><% loc('Link with') %>:</td>
+    <td class="value"><a href="<%RT::IR->HREFTo('Display.html?id='.$ChildObj->id)%>"><% loc("[_1] #[_2]: [_3]",  RT::IR::TicketType(Lifecycle => $ChildObj->QueueObj->Lifecycle), $ChildObj->Id, $ChildObj->Subject) %></a></td></tr>
 % }
 
   

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list