mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Merge pull request #4001 from steffann/738-automatically-check-for-new-releases
Fixes: #738: Automatically check for new versions
This commit is contained in:
@@ -1,6 +1,19 @@
|
||||
{% extends '_base.html' %}
|
||||
{% load helpers %}
|
||||
|
||||
{% block header %}
|
||||
{{ block.super }}
|
||||
{% if new_release %}
|
||||
<div class="alert alert-info" role="alert">
|
||||
A new release is available:
|
||||
{% if new_release_url %}<a target="_blank" href="{{ new_release_url }}">{% endif %}
|
||||
NetBox v{{ new_release }}
|
||||
{% if latest_version_url %}</a>{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
{% include 'search_form.html' %}
|
||||
<div class="row">
|
||||
|
Reference in New Issue
Block a user