Commit a358491a authored by Michal Čihař's avatar Michal Čihař

Actually display something on translate page

parent 1f0cc6b8
......@@ -13,8 +13,19 @@
{% csrf_token %}
<input type="hidden" name="type" value="{{ type }}" />
<input type="hidden" name="oldpos" value="{{ unit.position }}" />
<table class="translator">
<tr><th>{% trans "Source" %}</th><th>{% trans "Translation" %}<th></tr>
{% if unit.is_plural %}
{% else %}
<tr><td>{{ unit.source }}</td><td colspan="2">{{ form.target }}</td></tr>
{% endif %}
<tr><td>{{ unit.location }}</td></tr>
<tr><td></td><td>
<input type="submit" value="{% trans "Save" %}" />
<a href="{{ unit.translation.get_translate_url }}?type={{ type }}&amp;oldpos={{ unit.position }}">{% trans "Skip" %}</a>
</table>
</form>
<a href="{{ unit.translation.get_translate_url }}?type={{ type }}&amp;oldpos={{ unit.position }}">Skip</a>
{% endblock %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment