[Bps-public-commit] RT-Extension-ReportSpam branch, master, updated. 0.12-1-g08e0af9

Alex Vandiver alexmv at bestpractical.com
Wed Nov 20 10:33:01 EST 2013


The branch, master has been updated
       via  08e0af96c658be09db5db0260ca9f3558148a918 (commit)
      from  dee62261ea1c35a176a2fc2a42faaf54bc87fbf6 (commit)

Summary of changes:
 html/Ticket/Elements/ReportSpam | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 08e0af96c658be09db5db0260ca9f3558148a918
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Nov 20 10:32:56 2013 -0500

    Add a title= to the link, for explanitory purposes

diff --git a/html/Ticket/Elements/ReportSpam b/html/Ticket/Elements/ReportSpam
index bd52c40..8386686 100644
--- a/html/Ticket/Elements/ReportSpam
+++ b/html/Ticket/Elements/ReportSpam
@@ -1,6 +1,6 @@
 <span id="toggle-ticket-spam-<% $id %>">
 % my $url = RT->Config->Get("WebPath") ."/Helpers/Toggle/TicketSpam?id=". $id;
-<a align="right" href="<% $url %>" onclick="ahah(<% $url |j %>, 'toggle-ticket-spam-'+<% $id |j %>); return false;" >
+<a align="right" href="<% $url %>" onclick="ahah(<% $url |j %>, 'toggle-ticket-spam-'+<% $id |j %>); return false;" title="<% $reported ? loc("Not Spam") : loc("Report Spam") %>">
 % if ( $reported ) {
 <img src="<% RT->Config->Get("WebPath") %>/NoAuth/images/spam.png" alt="<% loc('Not Spam') %>" style="border-style: none;" />
 % } else {

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



More information about the Bps-public-commit mailing list