From fa05233fbe9ef63969cba6a9eab70ad8cf4a5b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 1 Mar 2012 11:39:58 +0100 Subject: [PATCH] Real links for accept/delete buttons --- html/translate.html | 4 ++-- trans/views.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/html/translate.html b/html/translate.html index 9311e07a4..c6049600a 100644 --- a/html/translate.html +++ b/html/translate.html @@ -45,8 +45,8 @@ {% blocktrans with suggestion.user.get_full_name as user %}Suggested by {{ user }}{% endblocktrans %}
-Accept -Delete +Accept +Delete
{% endfor %} diff --git a/trans/views.py b/trans/views.py index a7363fe47..2ed5ed947 100644 --- a/trans/views.py +++ b/trans/views.py @@ -111,6 +111,7 @@ def translate(request, project, subproject, lang): 'object': obj, 'title': '%s @ %s' % (obj.__unicode__(), settings.SITE_TITLE), 'unit': unit, + 'oldpos': pos, 'total': total, 'type': rqtype, 'form': form,