[Bps-public-commit] rt-extension-lifecycleui branch, master, updated. 6b8216f91766fe98b9968a37a46c491a4bbbae65

Shawn Moore shawn at bestpractical.com
Fri Oct 13 11:28:35 EDT 2017


The branch, master has been updated
       via  6b8216f91766fe98b9968a37a46c491a4bbbae65 (commit)
      from  7a6bc22674729587b806aff3d26f7064df62f216 (commit)

Summary of changes:
 html/Admin/Lifecycles/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 6b8216f91766fe98b9968a37a46c491a4bbbae65
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Thu Oct 12 17:26:16 2017 +0000

    Non-ticket lifecycles are always hidden

diff --git a/html/Admin/Lifecycles/index.html b/html/Admin/Lifecycles/index.html
index 39f6a0c..c4a634f 100644
--- a/html/Admin/Lifecycles/index.html
+++ b/html/Admin/Lifecycles/index.html
@@ -15,7 +15,7 @@
 <tr class="<% $i % 2 ? 'oddline' : 'evenline' %>">
 <td class="collection-as-table"><a href="<% RT->Config->Get('WebURL') %>Admin/Lifecycles/Modify.html?Type=<% $lifecycle->Type |u %>&Name=<% $lifecycle->Name |u %>"><% $lifecycle->Name %></a></td>
 <td class="collection-as-table"><% loc($lifecycle->Type) %></td>
-% my $display = $lifecycle->Type eq 'ticket' ? ($lifecycle->{data}{ticket_display} || 'hidden') : '';
+% my $display = $lifecycle->Type eq 'ticket' ? ($lifecycle->{data}{ticket_display} || 'hidden') : 'hidden';
 <td class="collection-as-table"><% loc($display) %></td>
 </tr>
 % }

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


More information about the Bps-public-commit mailing list