todolist panel (frontend part), by clicking on the TODO the relatve file is opened in a tab and the cursor is placed at the right line
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<li onclick="collapse('{{=pos_file}}_matches');"><a ><i class='icon-chevron-right'></i>{{=file['filename']}} <span class='small'>({{=len(file['matches'])}} TODO)</span></a></li>
|
||||
<li id="{{=pos_file}}_matches" style="display: none;"><ul class="nav nav-list small-font">
|
||||
{{for m in file['matches']:}}
|
||||
<li><a href="{{=URL('edit', args=[app,file['dir'], file['filename']], vars={'lineno':m['lineno']}, extension="")}}" class="editor_filelink" >{{=m['text']}}</a></li>
|
||||
<li><a href="{{=URL('edit', args=[app,file['dir'], file['filename']], vars={'lineno':m['lineno']}, extension="")}}" data-lineno="{{=m['lineno']-1}}" class="editor_filelink" >{{=m['text']}}</a></li>
|
||||
{{pass}}
|
||||
</ul></li>
|
||||
{{pass}}
|
||||
|
||||
Reference in New Issue
Block a user