diff options
Diffstat (limited to 'servo/templates/products/index.html')
-rwxr-xr-x | servo/templates/products/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/servo/templates/products/index.html b/servo/templates/products/index.html index 1bb75db..be5f8f2 100755 --- a/servo/templates/products/index.html +++ b/servo/templates/products/index.html @@ -26,15 +26,15 @@ <i class="icon-cog"></i> <span class="caret"></span> </a> <ul class="dropdown-menu"> - {% if group.pk and perms.servo.add_product %} + {% if group.pk and perms.servo.add_product %} <li><a href="{% url 'products-edit_category' group.slug %}" data-modal="#modal">{% trans "Edit Category" %}</a></li> <li><a href="{% url 'products-delete_category' group.slug %}" data-modal="#modal">{% trans "Delete Category" %}</a></li> - {% else %} + {% else %} <li class="disabled"><a href="#">{% trans "Edit Category" %}</a></li> <li class="disabled"><a href="#">{% trans "Delete Category" %}</a></li> - {% endif %} + {% endif %} <li class="divider"></li> - <li><a href="{% url 'products-download' %}">{% trans "Download Products" %}</a></li> + <li><a href="{% url 'products-download' group.slug %}">{% trans "Download Products" %}</a></li> <li class="disabled"><a href="{% url 'products-get_inventory_report' %}">{% trans "Download Inventory Report" %}</a></li> <li><a href="{% url 'products-upload_products' %}" data-modal="#modal">{% trans "Upload Products" %}</a></li> <li><a href="{% url 'products-upload_gsx_parts' %}" data-modal="#modal">{% trans "Upload Parts Database" %}</a></li> |