{% load i18n %}
{% load translations %}
{% if other %}
<table>
    <thead>
    <tr><th>{% trans "Project" %}</th><th>{% trans "Source" %}</th><th>{% trans "Translation" %}</th><th>{% trans "State" %}</th><th></th></tr>
    </thead>
    <tbody>
{% for item in other %}
    <tr>
    <td>{{ item.translation.subproject }}</td>
    <td class="translatetext"><a href="{{ item.get_absolute_url }}">{{ item.source|fmttranslation }}</a></td>
    <td class="translatetext" {{ item.translation.language.get_html }}><a href="{{ item.get_absolute_url }}">{{ item.target|fmttranslationdiff:unit }}</a></td>
    <td>{% include "unit-state.html" %}</td>
    <td>
    {% if perms.trans.save_translation %}
    <a class="mergebutton small-button" href="{{ unit.translation.get_translate_url}}?type={{ type }}&amp;pos={{ unit.position }}{{ search_url }}&amp;checksum={{ unit.checksum }}&amp;merge={{ item.id }}" title="{% trans "Use this translation for all subprojects" %}">{% trans "Use this translation" %}</a>
    {% endif %}
    </td>
    </tr>
{% endfor %}
    </tbody>
</table>
{% else %}
<p>{% trans "No other strings found." %}</p>
{% endif %}

