diff options
Diffstat (limited to 'servo/templates')
-rwxr-xr-x | servo/templates/orders/devices.html | 8 | ||||
-rwxr-xr-x | servo/templates/orders/tabs.html | 2 |
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&order={{ order.pk|safe }}" data-modal="#modal">{% trans "Initiate Diagnostics" %}</a></li> + <li><a href="{% url 'devices-diagnostics' device.pk %}?a=init&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> |