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

Show project on similar messages listing (issue #18)

parent 7a6b0b7e
......@@ -3,11 +3,12 @@
{% if similar %}
<table>
<thead>
<tr><th>{% trans "Source" %}</th><th>{% trans "Translation" %}</th></tr>
<tr><th>{% trans "Project" %}</th><th>{% trans "Source" %}</th><th>{% trans "Translation" %}</th></tr>
</thead>
<tbody>
{% for item in similar %}
<tr class="clickable">
<td>{{ item.translation.subproject }}</td>
<td class="translatetext"><a href="{{ item.get_absolute_url }}">{{ item.source|fmttranslation }}</a></td>
<td class="translatetext"><a href="{{ item.get_absolute_url }}">{{ item.target|fmttranslation:item.translation.language }}</a></td>
</tr>
......
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