File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
warehouse/admin/templates/admin Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 31
31
< div class ="card ">
32
32
< div class ="card-header ">
33
33
< h3 class ="card-title ">
34
- Project: < code > {{ report.related.name }}</ code >
34
+ Project:
35
+ < a href ="{{ request.route_path('admin.project.detail', project_name=report.related.name) }} ">
36
+ < code > {{ report.related.name }}</ code >
37
+ </ a >
35
38
</ h3 >
36
39
</ div >
37
40
< div class ="card-body ">
Original file line number Diff line number Diff line change 14
14
15
15
{% extends "admin/base.html" %}
16
16
17
- {% block title %}Malware Reports for {{ project.name }}{% endblock %}
17
+ {% block title %}
18
+ Malware Reports for
19
+ < a href ="{{ request.route_path('admin.project.detail', project_name=project.name) }} "> {{ project.name }}</ a >
20
+ {% endblock %}
18
21
19
22
{% block breadcrumb %}
20
23
< li class ="breadcrumb-item ">
Original file line number Diff line number Diff line change @@ -270,6 +270,7 @@ <h3 class="card-title">Project Observations</h3>
270
270
< table class ="table table-hover table-striped ">
271
271
< thead >
272
272
< tr >
273
+ < th > </ th >
273
274
< th > Created</ th >
274
275
< th > Kind</ th >
275
276
< th > Reporter</ th >
@@ -279,6 +280,11 @@ <h3 class="card-title">Project Observations</h3>
279
280
< tbody >
280
281
{% for observation in observations %}
281
282
< tr >
283
+ < td >
284
+ < a href ="{{ request.route_path('admin.malware_reports.detail', observation_id=observation.id) }} ">
285
+ < i class ="fa-regular fa-eye "> </ i >
286
+ </ a >
287
+ </ td >
282
288
< td > {{ observation.created }}</ td >
283
289
{# TODO: There's no exact relationship back to the ObservationKind to get the human-string. Not exactly sure how to get that yet. #}
284
290
< td > {{ observation.kind }}</ td >
You can’t perform that action at this time.
0 commit comments