[Rt-commit] rtir branch, 4.0.0-releng, updated. 4.0.0rc1-6-gb84d9f9

Shawn Moore shawn at bestpractical.com
Mon Jun 20 17:27:23 EDT 2016


The branch, 4.0.0-releng has been updated
       via  b84d9f92bdb7505b297feeb0c054a477063a7900 (commit)
       via  48c7175992b9cc6e810140a4e469e7e7797b08ca (commit)
      from  fa3b61ff5c2fe1248326b5d83f2356f373427507 (commit)

Summary of changes:
 html/RTIR/Tools/Elements/LookupSummary | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 48c7175992b9cc6e810140a4e469e7e7797b08ca
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Mon Jun 20 21:26:41 2016 +0000

    Fix lifecycle display names on Lookup tool

diff --git a/html/RTIR/Tools/Elements/LookupSummary b/html/RTIR/Tools/Elements/LookupSummary
index 856b58f..74960fb 100644
--- a/html/RTIR/Tools/Elements/LookupSummary
+++ b/html/RTIR/Tools/Elements/LookupSummary
@@ -65,8 +65,7 @@
 </&>
 <%INIT>
 
-my $display_lifecycle = $Lifecycle;
-$display_lifecycle =~ s/_/ /; # TODO replace with a function in RT::IR
+my $display_lifecycle = RT::IR::FriendlyLifecycle($Lifecycle);
 
 my $lookup_cf_not_applies = 0;
 if ( $LookupType && RT::IR->CustomFields( Field => $LookupType )

commit b84d9f92bdb7505b297feeb0c054a477063a7900
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Mon Jun 20 21:27:14 2016 +0000

    Fix grammar error in Lookup tool

diff --git a/html/RTIR/Tools/Elements/LookupSummary b/html/RTIR/Tools/Elements/LookupSummary
index 74960fb..6673e8f 100644
--- a/html/RTIR/Tools/Elements/LookupSummary
+++ b/html/RTIR/Tools/Elements/LookupSummary
@@ -52,7 +52,7 @@
     title_class => 'inverse',
 &>
 % if ( $lookup_cf_not_applies ) {
-<i><% loc("Custom field '[_1]' doesn't applies to this queue", loc($LookupType) ) %></i>
+<i><% loc("Custom field '[_1]' doesn't apply to this queue", loc($LookupType) ) %></i>
 % } else {
 <& /RTIR/Search/Elements/ShowResults,
     BaseQuery     => RT::IR->Query( Lifecycle => $Lifecycle ),

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


More information about the rt-commit mailing list