From 254b69c12c7eda413f46630bc1cd8c32c0079ebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 1 Mar 2012 11:01:48 +0100 Subject: [PATCH] List suggestions --- html/translate.html | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/html/translate.html b/html/translate.html index 5d431529b..6bf89f785 100644 --- a/html/translate.html +++ b/html/translate.html @@ -24,15 +24,31 @@ {% trans "Source" %}{% trans "Translation" %} {% if unit.is_plural %} {% else %} -{{ unit.source }} +{{ unit.source }} {{ form.checksum }} {{ form.target }}
{{ form.fuzzy }} {% endif %} -{% trans "Location" %} -{{ unit.get_location_links }} +{% trans "Location" %} +{% trans "Suggestions" %} + +{{ unit.get_location_links }} + +{% with unit.suggestions as suggestions %} +{% if suggestions %} + +{% else %} +{% trans "There are no suggestions for this string." %} +{% endif %} +{% endwith %} + + {% trans "Flags" %} {{ unit.flags }}