Skip to content

Commit

Permalink
Fixes #469: Added missing import buttons to list views
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Aug 15, 2016
1 parent 78c3b25 commit d045429
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions netbox/templates/circuits/circuit_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
<span class="fa fa-plus" aria-hidden="true"></span>
Add a circuit
</a>
<a href="{% url 'circuits:circuit_import' %}" class="btn btn-info">
<span class="fa fa-download" aria-hidden="true"></span>
Import circuits
</a>
{% endif %}
{% include 'inc/export_button.html' with obj_type='circuits' %}
</div>
Expand Down
4 changes: 4 additions & 0 deletions netbox/templates/circuits/provider_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
<span class="fa fa-plus" aria-hidden="true"></span>
Add a provider
</a>
<a href="{% url 'circuits:provider_import' %}" class="btn btn-info">
<span class="fa fa-download" aria-hidden="true"></span>
Import providers
</a>
{% endif %}
{% include 'inc/export_button.html' with obj_type='providers' %}
</div>
Expand Down
4 changes: 4 additions & 0 deletions netbox/templates/ipam/aggregate_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<span class="fa fa-plus" aria-hidden="true"></span>
Add an aggregate
</a>
<a href="{% url 'ipam:aggregate_import' %}" class="btn btn-info">
<span class="fa fa-download" aria-hidden="true"></span>
Import aggregates
</a>
{% endif %}
{% include 'inc/export_button.html' with obj_type='aggregates' %}
</div>
Expand Down
4 changes: 4 additions & 0 deletions netbox/templates/tenancy/tenant_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
<span class="fa fa-plus" aria-hidden="true"></span>
Add a tenant
</a>
<a href="{% url 'tenancy:tenant_import' %}" class="btn btn-info">
<span class="fa fa-download" aria-hidden="true"></span>
Import tenants
</a>
{% endif %}
{% include 'inc/export_button.html' with obj_type='tenants' %}
</div>
Expand Down

0 comments on commit d045429

Please sign in to comment.