Changeset 2113729 in osmose-frontend


Ignore:
Timestamp:
Feb 16, 2014 7:26:01 PM (6 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
100691ad
Parents:
197f1fe
git-author:
Jocelyn Jaubert <jocelyn.jaubert@…> (01/12/2013 21:52:00)
git-committer:
Jocelyn Jaubert <jocelyn.jaubert@…> (16/02/2014 19:26:01)
Message:

Add link to delete a false-positive

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • views/errors/list.tpl

    r197f1fe r2113729  
    1919%if opt_date != "-1": 
    2020    <th>{{_("date")}}</th> 
     21%end 
     22%if gen == "false-positive": 
     23    <th title="{{_("delete error")}}">X</th> 
    2124%end 
    2225</tr> 
     
    8992    <td>{{date[:10]}}&nbsp;{{date[11:16]}}</td> 
    9093%    end 
     94%    if gen == "false-positive": 
     95    <td title="{{_("delete error #%d") % res["id"]}}"><a href="#" class="err_delete" id="delete={{gen}}={{res["id"]}}">X</a></td> 
     96%    end 
    9197</tr> 
    9298%end 
    9399</table> 
     100<script type="text/javascript" src="{{get_url('static', filename='/js/jquery-1.7.2.min.js')}}"></script> 
     101<script src="{{get_url('static', filename='js/err_delete.js')}}" type="text/javascript"></script> 
    94102<iframe id="hiddenIframe" name="hiddenIframe"></iframe> 
Note: See TracChangeset for help on using the changeset viewer.