aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/orders
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-11-02 21:24:52 +0200
committerFilipp Lepalaan <filipp@mac.com>2016-11-02 21:24:52 +0200
commitda1014421d0fffa146a6ee581a9c522c84b8c1fe (patch)
tree0522981df0ad95124b933834e4a32f89f474f9ca /servo/templates/orders
parent9bf45810ca9729fac51d796651a310a07d7b92cf (diff)
downloadServo-da1014421d0fffa146a6ee581a9c522c84b8c1fe.tar.gz
Servo-da1014421d0fffa146a6ee581a9c522c84b8c1fe.tar.bz2
Servo-da1014421d0fffa146a6ee581a9c522c84b8c1fe.zip
Cleanup
Diffstat (limited to 'servo/templates/orders')
-rwxr-xr-xservo/templates/orders/devices.html8
-rwxr-xr-xservo/templates/orders/tabs.html2
2 files changed, 5 insertions, 5 deletions
diff --git a/servo/templates/orders/devices.html b/servo/templates/orders/devices.html
index 002906f..792b570 100755
--- a/servo/templates/orders/devices.html
+++ b/servo/templates/orders/devices.html
@@ -77,12 +77,12 @@
</a>
<ul class="dropdown-menu">
{% if device.is_ios %}
- <li><a href="{% url 'devices-diagnostics' device.pk %}?a=init&amp;order={{ order.pk|safe }}" data-modal="#modal">{% trans "Initiate Diagnostics" %}</a></li>
+ <li><a href="{% url 'devices-diagnostics' device.pk %}?a=init&amp;order={{ order.pk|safe }}" data-modal="#modal">{% trans "Initiate" %}</a></li>
{% else %}
- <li class="disabled"><a href="#" data-modal="#modal">{% trans "Initiate Diagnostics" %}</a></li>
+ <li class="disabled"><a href="#" data-modal="#modal">{% trans "Initiate" %}</a></li>
{% endif %}
- <li><a href="{% url 'devices-diagnostics' device.pk %}" data-modal="#modal">{% trans "Fetch Diagnostics" %}</a></li>
- <li><a href="{% url 'diagnostics-fetch_url' %}" target="_blank">{% trans "Open Diagnostics Console" %}</a></li>
+ <li><a href="{% url 'devices-diagnostics' device.pk %}" data-modal="#modal">{% trans "Fetch" %}</a></li>
+ <li><a href="{% url 'diagnostics-fetch_url' %}" target="_blank">{% trans "Open Console" %}</a></li>
<li><a href="{% url 'devices-select_test' device.pk %}" data-modal="#modal">{% trans "Select Test" %}</a></li>
</ul>
</div>
diff --git a/servo/templates/orders/tabs.html b/servo/templates/orders/tabs.html
index 134aa9f..44d71c6 100755
--- a/servo/templates/orders/tabs.html
+++ b/servo/templates/orders/tabs.html
@@ -3,6 +3,6 @@
<li{% if not repair and active == 'order' %} class="active"{% endif %}><a href="{{ order.get_absolute_url }}">{% trans "Order" %}</a></li>
{% for r in order.repair_set.all %}
-<li{% if r.pk == repair.pk %} class="active"{% endif %}><a href="{{ r.get_absolute_url }}">{{ r.get_number }}</a></li>
+ <li{% if r.pk == repair.pk %} class="active"{% endif %}><a href="{{ r.get_absolute_url }}">{{ r.get_number }}</a></li>
{% endfor %}
<li{% if active == 'events' %} class="active"{% endif %}><a href="{{ order.get_absolute_url }}events/">{% trans "Events" %}</a></li>