This commit is contained in:
wrmswindmill 2018-08-27 21:07:15 +08:00
parent a2b0f59a57
commit 400b8dbbf6
2 changed files with 4 additions and 3 deletions

View File

@ -1154,6 +1154,7 @@ def get_fileid_name_anno_issue(files):
annonum = annoted_file_annonum_list[i][1]
fileid_name_anno_issue[file.id]=[]
fileid_name_anno_issue[file.id].append(file.name)
fileid_name_anno_issue[file.id].append(file.path)
fileid_name_anno_issue[file.id].append(annonum)
current_file_summary = FileSummary.objects.get(file=file)
fileid_name_anno_issue[file.id].append(current_file_summary.question_num)

View File

@ -94,9 +94,9 @@
</div>
{% for fileid, name_anno_issue in fileid_name_anno_issue.items %}
<div class="clearfix filePathline fileinfo-item">
{% for item in name_anno_issue %}
<span>{{ item }}</span>
{% endfor %}
<span><a style="color:#FFF !important" href="javascript:void(0)" onclick='add_tab("{{project_id}}","{{name_anno_issue.1}}","{{name_anno_issue.0}}")'>{{name_anno_issue.0}}</a></span>
<span>{{name_anno_issue.2}}</span>
<span>{{name_anno_issue.3}}</span>
</div>
{% endfor %}
</div>