aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/devices/search_gsx_parts.html
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates/devices/search_gsx_parts.html')
-rwxr-xr-xservo/templates/devices/search_gsx_parts.html46
1 files changed, 23 insertions, 23 deletions
diff --git a/servo/templates/devices/search_gsx_parts.html b/servo/templates/devices/search_gsx_parts.html
index 63bfdb9..48ba7a7 100755
--- a/servo/templates/devices/search_gsx_parts.html
+++ b/servo/templates/devices/search_gsx_parts.html
@@ -3,28 +3,28 @@
{% autoescape on %}
{% for p in results %}
- <tr>
- <td><a href="{% url 'products-view_product' code=p.code %}">{{ p.code }}</a></td>
- <td>{{ p.title }}<br/><span class="muted small" title="{{ p.eee_code }}">{{ p.eee_code|truncatechars:40 }}</td>
- <td>{{ p.price_sales_exchange|currency }}</td>
- <td>{{ p.price_sales_stock|currency }}</td>
- <td>0</td>
- <td>
- <div class="btn-group pull-right">
- <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
- <i class="icon-cog"></i> <span class="caret"></span>
- </a>
- <ul class="dropdown-menu">
- <li{% if not perms.servo.add_product %} class="disabled"{% endif %}>
- {% if device %}
- <a href="{% url 'products-create' group=device.get_product_category code=p.code %}">{% trans "Create Product" %}</a>
- {% else %}
- <a href="{% url 'products-create' code=p.code %}">{% trans "Create Product" %}</a>
- {% endif %}
- </li>
- </ul>
- </div>
- </td>
- </tr>
+<tr>
+ <td><a href="{% url 'products-view_product' code=p.code %}">{{ p.code }}</a></td>
+ <td>{{ p.title }}<br/><span class="muted small" title="{{ p.eee_code }}">{{ p.eee_code|truncatechars:40 }}</td>
+ <td>{{ p.price_sales_exchange|currency }}</td>
+ <td>{{ p.price_sales_stock|currency }}</td>
+ <td>0</td>
+ <td>
+ <div class="btn-group pull-right">
+ <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
+ <i class="icon-cog"></i> <span class="caret"></span>
+ </a>
+ <ul class="dropdown-menu">
+ <li{% if not perms.servo.add_product %} class="disabled"{% endif %}>
+ {% if device %}
+ <a href="{% url 'products-create' group=device.get_product_category code=p.code %}">{% trans "Create Product" %}</a>
+ {% else %}
+ <a href="{% url 'products-create' code=p.code %}">{% trans "Create Product" %}</a>
+ {% endif %}
+ </li>
+ </ul>
+ </div>
+ </td>
+</tr>
{% endfor %}
{% endautoescape %}