{% extends "base.html" %}
{% block extraheadcontent %}
{% endblock %}
{% load projecttags %}
{% block title %} {{object.name}} - SRTool {% endblock %}
{% block pagecontent %}
{% include "srtool_metadata_include.html" with default_category="INVESTIGATION" default_url="investigation" %}
Reason:
(e.g. "Security Advisory [- REASON -] CVE-2020-1234")
Comments
{% if request.user.is_creator %}
{% endif %}
Comment |
Date |
Author |
{% if request.user.is_creator %}
Manage |
{% endif %}
{% if object.investigation_comments.all %}
{% for c in object.investigation_comments.all %}
{{ c.comment }} |
{{ c.date }} |
{{ c.author }} |
{% if request.user.is_creator or c.author == request.user.username %}
|
{% endif %}
{% endfor %}
{% else %}
No comments found |
{% endif %}
Attachments
{% if request.user.is_creator %}
Add attachment ...
{% endif %}
Comment |
Name |
Size |
Date |
Author |
Manage |
{% if object.investigation_uploads.all %}
{% for u in object.investigation_uploads.all %}
{{ u.description }} |
{{ u.path|basename }} |
{{ u.size }} |
{{ u.date }} |
{{ u.author }} |
|
{% endfor %}
{% else %}
No comments found |
{% endif %}
{% if request.user.is_creator %}
Change Notifications
{% if request.user.is_creator %}
{% endif %}
User |
Email |
{% if request.user.is_creator %}
Manage |
{% endif %}
{% if object.investigation_notification.all %}
{% for u in object.investigation_notification.all %}
{{ u.user.name }} |
{{ u.user.email }} |
{% if request.user.is_creator or u.user.name == request.user.username %}
|
{% endif %}
{% endfor %}
{% else %}
No users found |
{% endif %}
User Access
{% if request.user.is_creator %}
{% endif %}
User |
{% if request.user.is_creator %}
Manage |
{% endif %}
{% if object.public %}
All |
|
{% endif %}
{% if object.investigation_users.all %}
{% for u in object.investigation_users.all %}
{{ u.user.name }} |
{% if request.user.is_creator %}
|
{% endif %}
{% endfor %}
{% else %}
{% if not object.public %}
No users found |
{% endif %}
{% endif %}
{% endif %}
History
Comment |
Date |
Author |
{% if object.investigation_history.all %}
{% for c in object.investigation_history.all %}
{{ c.comment }} |
{{ c.date }} |
{{ c.author }} |
{% endfor %}
{% else %}
No history found |
{% endif %}
{% endblock %}