Browse Source

Added a "view all" link to the changelog panel

Jeremy Stretch 7 years ago
parent
commit
f9911bff0d
1 changed files with 6 additions and 3 deletions
  1. 6 3
      netbox/templates/home.html

+ 6 - 3
netbox/templates/home.html

@@ -194,10 +194,13 @@
                             </small>
                         </div>
                     {% endwith %}
+                    {% if forloop.last %}
+                        <div class="list-group-item text-right">
+                            <a href="{% url 'extras:objectchange_list' %}">View All Changes</a>
+                        </div>
+                    {% endif %}
                 {% empty %}
-                    <div class="list-group-item">
-                        Welcome to NetBox! {% if perms.add_site %} <a href="{% url 'dcim:site_add' %}">Add a site</a> to get started.{% endif %}
-                    </div>
+                    <div class="list-group-item text-muted">No change history found</div>
                 {% endfor %}
             </div>
         </div>