Added a welcome message for new installs

This commit is contained in:
Jeremy Stretch 2016-06-22 15:48:41 -04:00
parent cbd7b5b4c3
commit 97f7ac9edf

View File

@ -151,6 +151,10 @@
{{ a.icon }} {{ a.message|safe }}<br />
<small class="text-muted">{{ a.user }} - {{ a.time|date:'SHORT_DATETIME_FORMAT' }}</small>
</div>
{% 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>
{% endfor %}
</div>
</div>