Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11069, comment 19


Ignore:
Timestamp:
Sep 22, 2013, 9:24:32 AM (11 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11069, comment 19

    initial v1  
    1 In [12031], I inadvertently removed the action being shown in the title on hover-over. This had previously been added in #11095, since the action might be truncated if it has too many characters. The following patch should fix the issue:
     1In [12031], I inadvertently removed the action from the title attribute, so it is no longer shown on hover-over. This had previously been added in #11095, since the action might be truncated if it has too many characters. The following patch should fix the issue:
    22
    33{{{#!diff
    44diff --git a/trac/admin/templates/admin_perms.html b/trac/admin/templates/admin_perms.html
    5 index 4adb9ae..13ca4cb 100644
     5index 4adb9ae..31036b0 100644
    66--- a/trac/admin/templates/admin_perms.html
    77+++ b/trac/admin/templates/admin_perms.html
     
    2222-                      title="Action is no longer defined">${action}</span>
    2323+                <span class="${classes(missing=invalid)}"
    24 +                      title="${_('Action is no longer defined') if invalid else action}">${action}</span>
     24+                      title="${_('%(action)s is no longer defined', action=action) if invalid else action}">${action}</span>
    2525               </label>
    2626             </td>