List suggestions
This commit is contained in:
parent
1996082a71
commit
254b69c12c
|
@ -24,15 +24,31 @@
|
||||||
<tr><th class="source">{% trans "Source" %}</th><th>{% trans "Translation" %}<th></tr>
|
<tr><th class="source">{% trans "Source" %}</th><th>{% trans "Translation" %}<th></tr>
|
||||||
{% if unit.is_plural %}
|
{% if unit.is_plural %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<tr><td>{{ unit.source }}</td><td colspan="2">
|
<tr><td>{{ unit.source }}</td><td>
|
||||||
{{ form.checksum }}
|
{{ form.checksum }}
|
||||||
{{ form.target }}
|
{{ form.target }}
|
||||||
<br />
|
<br />
|
||||||
{{ form.fuzzy }}<label for="id_fuzzy">{% trans "Fuzzy" %}</label>
|
{{ form.fuzzy }}<label for="id_fuzzy">{% trans "Fuzzy" %}</label>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr><th>{% trans "Location" %}</th></tr>
|
<tr><th>{% trans "Location" %}</th>
|
||||||
<tr><td>{{ unit.get_location_links }}</td></tr>
|
<th>{% trans "Suggestions" %}</th>
|
||||||
|
</tr>
|
||||||
|
<tr><td>{{ unit.get_location_links }}</td>
|
||||||
|
<td colspan="3">
|
||||||
|
{% with unit.suggestions as suggestions %}
|
||||||
|
{% if suggestions %}
|
||||||
|
<ul>
|
||||||
|
{% for suggestion in suggestions %}
|
||||||
|
<li><span class="translatetext">{{ suggestion.target }}</span> by {{ suggestion.user }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
{% else %}
|
||||||
|
{% trans "There are no suggestions for this string." %}
|
||||||
|
{% endif %}
|
||||||
|
{% endwith %}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr><th>{% trans "Flags" %}</th></tr>
|
<tr><th>{% trans "Flags" %}</th></tr>
|
||||||
<tr><td>{{ unit.flags }}</td></tr>
|
<tr><td>{{ unit.flags }}</td></tr>
|
||||||
<tr><td class="right">
|
<tr><td class="right">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user