[Rt-commit] rt branch, 4.4/show-all-in-forward, created. rt-4.4.1-274-g82d6587

Brian Duggan brian at bestpractical.com
Wed Jan 18 17:36:27 EST 2017


The branch, 4.4/show-all-in-forward has been created
        at  82d65873aabfe87415aa0285c30f2926fe7721ee (commit)

- Log -----------------------------------------------------------------
commit 82d65873aabfe87415aa0285c30f2926fe7721ee
Author: Brian C. Duggan <brian at bestpractical.com>
Date:   Wed Jan 18 17:19:12 2017 -0500

    Enable 'Show all' attachments link in Forward interface
    
    In the Forward interface, display the 'Show all' button in the
    Attachments box when there are more attachments than the value of
    config option AttachmentListCount.
    
    Fixes: #179882

diff --git a/share/html/Ticket/Forward.html b/share/html/Ticket/Forward.html
index 4c5cf10..ba3e91f 100644
--- a/share/html/Ticket/Forward.html
+++ b/share/html/Ticket/Forward.html
@@ -96,7 +96,7 @@
 
 </table>
 
-<& /Ticket/Elements/ShowAttachments, Ticket => $TicketObj, Attachments => $attachments &>
+<& /Ticket/Elements/ShowAttachments, Ticket => $TicketObj, Attachments => $attachments, Count => RT->Config->Get('AttachmentListCount') &>
 
 <& /Elements/Submit, Label => loc('Forward Message and Return'), Name => 'ForwardAndReturn' &>
 <& /Elements/Submit, Label => loc('Forward Message'), Name => 'Forward' &>

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


More information about the rt-commit mailing list