Better formatting for suggestions

This commit is contained in:
Michal Čihař 2012-03-01 11:28:51 +01:00
parent a5098513bc
commit 1bd7a03f98

View File

@ -39,11 +39,12 @@
<td colspan="3"> <td colspan="3">
{% with unit.suggestions as suggestions %} {% with unit.suggestions as suggestions %}
{% if suggestions %} {% if suggestions %}
<ul> <table>
{% for suggestion in suggestions %} {% for suggestion in suggestions %}
<li><span class="translatetext">{{ suggestion.target|fmttranslation }}</span> by {{ suggestion.user }}</li> <tr><td class="translatetext">{{ suggestion.target|fmttranslation }}</td></tr>
<tr><td>{% blocktrans with suggestion.user as user %}Suggested by {{ user }}{% endblocktrans %}</td>
{% endfor %} {% endfor %}
</ul> </table>
{% else %} {% else %}
{% trans "There are no suggestions for this string." %} {% trans "There are no suggestions for this string." %}
{% endif %} {% endif %}