1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #2258: Include changed object type on home page changelog

This commit is contained in:
Jeremy Stretch
2018-07-23 15:02:07 -04:00
parent beac676a6e
commit 86a67e7f32

View File

@ -1,4 +1,5 @@
{% extends '_base.html' %}
{% load helpers %}
{% block content %}
{% include 'search_form.html' %}
@ -180,6 +181,7 @@
{% elif action == 'deleted' %}
<span class="label label-danger"><i class="fa fa-trash"></i></span>
{% endif %}
{{ change.changed_object_type.name|bettertitle }}
{% if change.changed_object.get_absolute_url %}
<a href="{{ change.changed_object.get_absolute_url }}">{{ change.changed_object }}</a>
{% else %}