{% 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>{{ item.get_state_flags }}</td>
    <td>
    {% if perms.trans.save_translation %}
    <a class="mergebutton small-button" href="{{ unit.translation.get_translate_url}}?sid={{ search_id }}&amp;offset={{ offset }}&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 %}

