[Rt-commit] rt branch, 4.4/show-attachments-link, created. rt-4.4.1-215-g2b1ac75

Shawn Moore shawn at bestpractical.com
Thu Dec 29 12:39:05 EST 2016


The branch, 4.4/show-attachments-link has been created
        at  2b1ac757c998a5269acfc71d204db3a2f06c8781 (commit)

- Log -----------------------------------------------------------------
commit 2b1ac757c998a5269acfc71d204db3a2f06c8781
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Thu Dec 29 17:38:21 2016 +0000

    Make "Show all" link for AttachmentListCount more prominent
    
    Fixes: I#32459

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 9366a23..95b805a 100644
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -2071,9 +2071,8 @@ Set($AlwaysDownloadAttachments, undef);
 
 The number of attachments to display by default on ticket display and ticket
 reply pages. Attachments beyond this count will be displayed only after the
-user clicks a "Show all attachments" link. The default value, C<undef>, means
-always show all attachments. A value of C<0> means show no attachments by
-default.
+user clicks a "Show all" link. The default value, C<undef>, means always show
+all attachments. A value of C<0> means show no attachments by default.
 
 =cut
 
diff --git a/share/html/Ticket/Elements/ShowAttachments b/share/html/Ticket/Elements/ShowAttachments
index a13c9be..ecef84b 100644
--- a/share/html/Ticket/Elements/ShowAttachments
+++ b/share/html/Ticket/Elements/ShowAttachments
@@ -109,7 +109,7 @@
     }
 </script>
 
-<a href="#" onclick="showAllAttachments(jQuery(this)); return false;" ><% loc('Show all attachments') %></a>
+<a href="#" class="button" onclick="showAllAttachments(jQuery(this)); return false;" ><% loc('Show all') %></a>
 
 </span>
 % }

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


More information about the rt-commit mailing list