[Rt-commit] rt branch, 4.2/edit-custom-fields-single-column, created. rt-4.2.12-98-g72dc769

Dustin Graves dustin at bestpractical.com
Wed Jan 13 16:23:24 EST 2016


The branch, 4.2/edit-custom-fields-single-column has been created
        at  72dc76913f9054e2ed271a6cb88f3c5d063d207f (commit)

- Log -----------------------------------------------------------------
commit 72dc76913f9054e2ed271a6cb88f3c5d063d207f
Author: Dustin Graves <dustin at bestpractical.com>
Date:   Wed Jan 13 21:18:28 2016 +0000

    add custom field edit display behavior based on $EditCustomFieldsSingleColumn as documented in RT_Config.pm
    
    Fixes: I#18555

diff --git a/share/html/Ticket/Modify.html b/share/html/Ticket/Modify.html
index d0abd04..ed210c9 100644
--- a/share/html/Ticket/Modify.html
+++ b/share/html/Ticket/Modify.html
@@ -63,14 +63,14 @@
 </&>
 % $m->callback( CallbackName => 'AfterBasics', Ticket => $TicketObj );
 
-<& /Elements/EditCustomFieldCustomGroupings, Object => $TicketObj &>
+<& /Elements/EditCustomFieldCustomGroupings, Object => $TicketObj, AsTable => !!RT->Config->Get('EditCustomFieldsSingleColumn', $session{'CurrentUser'}) &>
 
 <& /Elements/Submit, Name => 'SubmitTicket', Label => loc('Save Changes'), Caption => loc("If you've updated anything above, be sure to"), color => "#993333" &>
 </form>
 
 % $m->callback(CallbackName => 'AfterForm', ARGSRef => \%ARGS, Ticket => $TicketObj);
 <%INIT>
-  
+
 my $TicketObj = LoadTicket($id);
 my $CustomFields = $TicketObj->CustomFields;
 

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


More information about the rt-commit mailing list