|
@@ -1,6 +1,7 @@
|
|
|
|
|
|
{% extends "homepage/base.html" %}
|
|
{% extends "homepage/base.html" %}
|
|
{% load static %}
|
|
{% load static %}
|
|
|
|
+{% load i18n %}
|
|
|
|
|
|
{% block title %}GPS Logging{% endblock %}
|
|
{% block title %}GPS Logging{% endblock %}
|
|
{% block header %}GPS Logging{% endblock %}
|
|
{% block header %}GPS Logging{% endblock %}
|
|
@@ -8,12 +9,12 @@
|
|
{% block status %}
|
|
{% block status %}
|
|
{% if user.is_authenticated %}
|
|
{% if user.is_authenticated %}
|
|
<p style="text-align:center">
|
|
<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>
|
|
</p>
|
|
{% else %}
|
|
{% else %}
|
|
<p style="text-align:center">
|
|
<p style="text-align:center">
|
|
- <a href="{% url 'login' %}" class="link">Login</a>
|
|
|
|
|
|
+ <a href="{% url 'login' %}" class="link">{% trans "Login" %}</a>
|
|
</p>
|
|
</p>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
{% endblock %}
|
|
@@ -43,13 +44,13 @@
|
|
<div id="overview" class="demo-placeholder"></div>
|
|
<div id="overview" class="demo-placeholder"></div>
|
|
</div>
|
|
</div>
|
|
<p></p>
|
|
<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>
|
|
- <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>
|
|
</p>
|
|
<ul id="tracks">
|
|
<ul id="tracks">
|
|
</ul>
|
|
</ul>
|