Edgewall Software

Ticket #4611: admin_spammonitor.html.diff

File admin_spammonitor.html.diff, 902 bytes (added by johann@…, 5 years ago)

Patch against http://svn.edgewall.com/repos/trac/sandbox/spam-filter/tracspamfilter/templates/admin_spammonitor.html

  • tracspamfilter/templates/admin_spammonitor.html

     
    4444                <input type="checkbox" name="sel" value="${entry.id}" /> 
    4545              </td> 
    4646              <td class="author" py:with="auth = entry.authenticated and 'yes' or 'no'" 
    47                   title="${len(entry.author) > 25 and entry.author or None}"> 
     47                  title="${entry.author and len(entry.author) > 25 or None}"> 
    4848                <a href="$entry_href"><img src="${href.chrome('spamfilter', auth + '.gif')}" 
    4949                     title="User was ${entry.authenticated and 'was' or 'was not'} logged in" 
    5050                     alt="$auth" />&nbsp;${shorten_line(entry.author, 25) or 'anonymous'}</a>