Real links for accept/delete buttons
This commit is contained in:
parent
9bf892c460
commit
fa05233fbe
@ -45,8 +45,8 @@
|
|||||||
<tr><td>
|
<tr><td>
|
||||||
{% blocktrans with suggestion.user.get_full_name as user %}Suggested by {{ user }}{% endblocktrans %}
|
{% blocktrans with suggestion.user.get_full_name as user %}Suggested by {{ user }}{% endblocktrans %}
|
||||||
<div class="suggestionactions">
|
<div class="suggestionactions">
|
||||||
<a href="{{ suggestion.get_accept_url }}" class="sug-accept">Accept</a>
|
<a href="{{ suggestion.get_translate_url }}?type={{ type }}&oldpos={{ oldpos }}&accept={{ suggestion.id }}" class="sug-accept">Accept</a>
|
||||||
<a href="{{ suggestion.get_delete_url }}" class="sug-delete">Delete</a>
|
<a href="{{ suggestion.get_translate_url }}?type={{ type }}&oldpos={{ oldpos }}&delete={{ suggestion.id }}" class="sug-delete">Delete</a>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -111,6 +111,7 @@ def translate(request, project, subproject, lang):
|
|||||||
'object': obj,
|
'object': obj,
|
||||||
'title': '%s @ %s' % (obj.__unicode__(), settings.SITE_TITLE),
|
'title': '%s @ %s' % (obj.__unicode__(), settings.SITE_TITLE),
|
||||||
'unit': unit,
|
'unit': unit,
|
||||||
|
'oldpos': pos,
|
||||||
'total': total,
|
'total': total,
|
||||||
'type': rqtype,
|
'type': rqtype,
|
||||||
'form': form,
|
'form': form,
|
||||||
|
Loading…
Reference in New Issue
Block a user