Fixes #469: Added missing import buttons to list views

This commit is contained in:
Jeremy Stretch 2016-08-15 17:57:17 -04:00
parent 78c3b25f0a
commit d045429b51
4 changed files with 16 additions and 0 deletions

View File

@ -10,6 +10,10 @@
<span class="fa fa-plus" aria-hidden="true"></span> <span class="fa fa-plus" aria-hidden="true"></span>
Add a circuit Add a circuit
</a> </a>
<a href="{% url 'circuits:circuit_import' %}" class="btn btn-info">
<span class="fa fa-download" aria-hidden="true"></span>
Import circuits
</a>
{% endif %} {% endif %}
{% include 'inc/export_button.html' with obj_type='circuits' %} {% include 'inc/export_button.html' with obj_type='circuits' %}
</div> </div>

View File

@ -9,6 +9,10 @@
<span class="fa fa-plus" aria-hidden="true"></span> <span class="fa fa-plus" aria-hidden="true"></span>
Add a provider Add a provider
</a> </a>
<a href="{% url 'circuits:provider_import' %}" class="btn btn-info">
<span class="fa fa-download" aria-hidden="true"></span>
Import providers
</a>
{% endif %} {% endif %}
{% include 'inc/export_button.html' with obj_type='providers' %} {% include 'inc/export_button.html' with obj_type='providers' %}
</div> </div>

View File

@ -11,6 +11,10 @@
<span class="fa fa-plus" aria-hidden="true"></span> <span class="fa fa-plus" aria-hidden="true"></span>
Add an aggregate Add an aggregate
</a> </a>
<a href="{% url 'ipam:aggregate_import' %}" class="btn btn-info">
<span class="fa fa-download" aria-hidden="true"></span>
Import aggregates
</a>
{% endif %} {% endif %}
{% include 'inc/export_button.html' with obj_type='aggregates' %} {% include 'inc/export_button.html' with obj_type='aggregates' %}
</div> </div>

View File

@ -10,6 +10,10 @@
<span class="fa fa-plus" aria-hidden="true"></span> <span class="fa fa-plus" aria-hidden="true"></span>
Add a tenant Add a tenant
</a> </a>
<a href="{% url 'tenancy:tenant_import' %}" class="btn btn-info">
<span class="fa fa-download" aria-hidden="true"></span>
Import tenants
</a>
{% endif %} {% endif %}
{% include 'inc/export_button.html' with obj_type='tenants' %} {% include 'inc/export_button.html' with obj_type='tenants' %}
</div> </div>