|
@@ -1,6 +1,7 @@
|
|
|
|
|
|
{% extends "homepage/base.html" %}
|
|
|
{% load static %}
|
|
|
+{% load i18n %}
|
|
|
|
|
|
{% block title %}GPS Logging{% endblock %}
|
|
|
{% block header %}GPS Logging{% endblock %}
|
|
@@ -8,12 +9,12 @@
|
|
|
{% block status %}
|
|
|
{% if user.is_authenticated %}
|
|
|
<p style="text-align:center">
|
|
|
- Hi {% firstof user.first_name user.username %}!<br/>
|
|
|
- <a href="{% url 'logout' %}" class="link">Logout</a>
|
|
|
+ {% trans "Hello" %} {% firstof user.first_name user.username %}!<br/>
|
|
|
+ <a href="{% url 'logout' %}" class="link">{% trans "Logout" %}</a>
|
|
|
</p>
|
|
|
{% else %}
|
|
|
<p style="text-align:center">
|
|
|
- <a href="{% url 'login' %}" class="link">Login</a>
|
|
|
+ <a href="{% url 'login' %}" class="link">{% trans "Login" %}</a>
|
|
|
</p>
|
|
|
{% endif %}
|
|
|
{% endblock %}
|
|
@@ -43,13 +44,13 @@
|
|
|
<div id="overview" class="demo-placeholder"></div>
|
|
|
</div>
|
|
|
<p></p>
|
|
|
- <p>Zoom to:
|
|
|
- <button id="whole">All</button>
|
|
|
- <button id="track">Track</button>
|
|
|
+ <p>{% trans "Zoom to:" %}
|
|
|
+ <button id="whole">{% trans "All" %}</button>
|
|
|
+ <button id="track">{% trans "Track" %}</button>
|
|
|
</p>
|
|
|
- <p>Move:
|
|
|
- <button id="left">Left</button>
|
|
|
- <button id="right">Right</button>
|
|
|
+ <p>{% trans "Move:" %}
|
|
|
+ <button id="left">{% trans "Left" %}</button>
|
|
|
+ <button id="right">{% trans "Right" %}</button>
|
|
|
</p>
|
|
|
<ul id="tracks">
|
|
|
</ul>
|