diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-12-12 23:56:41 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-12-12 23:56:41 +0200 |
commit | 8b336df1628fe16c5c068002e543e22a51f75da5 (patch) | |
tree | dce68019dd7ad0f2b82f20b959506e96788f2448 /servo/templates/customers | |
parent | b6fe7d57744b6144869c12b9d3435099037d3498 (diff) | |
download | Servo-8b336df1628fe16c5c068002e543e22a51f75da5.tar.gz Servo-8b336df1628fe16c5c068002e543e22a51f75da5.tar.bz2 Servo-8b336df1628fe16c5c068002e543e22a51f75da5.zip |
Move customer selection to customer view
Diffstat (limited to 'servo/templates/customers')
-rwxr-xr-x | servo/templates/customers/view.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servo/templates/customers/view.html b/servo/templates/customers/view.html index 6e28643..98fbfc9 100755 --- a/servo/templates/customers/view.html +++ b/servo/templates/customers/view.html @@ -68,9 +68,11 @@ {% if perms.servo.change_customer %} <li><a href="{% url 'customers-move_customer' pk=customer.pk %}" data-modal="#modal">{% trans "Move Customer" %}</a></li> <li><a href="{% url 'customers-merge_customer' pk=customer.pk %}" data-modal="#modal">{% trans "Merge Customer" %}</a></li> + <li><a href="{% url 'devices-upload_devices' %}?c={{ customer.pk|safe }}" data-modal="#modal">{% trans "Upload Devices" %}</a></li> {% else %} <li><a href="#" class="disabled">{% trans "Move Customer" %}</a></li> <li><a href="#" class="disabled">{% trans "Merge Customer" %}</a></li> + <li><a href="#" class="disabled">{% trans "Upload Devices" %}</a></li> {% endif %} <li class="divider"></li> {% if perms.servo.delete_customer %} |