{% if object.sans %}
{% for san in object.sans %}
{{ san }}
{% endfor %}
{% endif %}
{% if assignments %}
| Type |
Assigned To |
Primary |
Notes |
{% for assignment in assignments %}
| {% badge assignment.assigned_object_type_name %} |
{% if assignment.assigned_object %}
{{ assignment.assigned_object }}
{% if assignment.assigned_object_type.model == 'service' and assignment.assigned_object.parent %}
on {{ assignment.assigned_object.parent }}
{% endif %}
{% else %}
Unknown
{% endif %}
|
{% checkmark assignment.is_primary %} |
{{ assignment.notes|default:"-" }} |
{% endfor %}
{% endif %}
{% if object.replaced_by or object.replaces.exists %}
{% if object.replaced_by %}
{% endif %}
{% if object.replaces.exists %}
Previous Certificates
{% for old_cert in object.replaces.all %}
-
{{ old_cert.common_name }}
({{ old_cert.valid_from|date:"Y-m-d" }} - {{ old_cert.valid_to|date:"Y-m-d" }})
{% badge old_cert.get_status_display bg_color=old_cert.get_status_color %}
{% endfor %}
{% endif %}
{% endif %}
{% if lifecycle_events %}
{% for event in lifecycle_events %}
{{ event.timestamp|date:"Y-m-d H:i" }}
{{ event.get_event_type_display }}
{{ event.description }}
{% if event.actor %}
by {{ event.actor }}
{% endif %}
{% endfor %}
{% else %}
No lifecycle events recorded.
{% endif %}
{% if monitored_endpoints %}
| Name |
URL |
Status |
Days Remaining |
{% for endpoint in monitored_endpoints %}
| {{ endpoint.name }} |
{% if endpoint.url|slice:':8'|lower == 'https://' or endpoint.url|slice:':7'|lower == 'http://' %}
{{ endpoint.url }}
{% else %}{{ endpoint.url }}{% endif %}
|
{% badge endpoint.get_status_display %} |
{{ endpoint.days_remaining|default:"—" }} |
{% endfor %}
{% endif %}