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

Try to make context and comments more visible

Maybe this is not the best place, but we have blank space here which
might be visible enough to achieve designed purpose.

Fixes #678
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 6a965695
......@@ -89,6 +89,15 @@
<a class="pull-right flip" title="{% trans "Edit source string" %}"href="{{ edit_template.get_translate_url }}?checksum={{ unit.checksum }}"><i class="fa fa-pencil"></i></a>
{% endif %}
{% endwith %}
<div class="pull-right flip">
{% if unit.context %}
<label>{% trans "Context:" %}</label>
{{ unit.context }}
{% elif unit.comment %}
<label>{% trans "Comment:" %}</label>
{{ unit.comment }}
{% endif %}
</div>
<label>{% trans "Source" %}</label>
{% format_translation unit.source search_match=search_query num_plurals=unit.translation.language.nplurals %}
</div>
......
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