Add buttons for accepting/deleting suggestions

This commit is contained in:
Michal Čihař 2012-03-01 11:31:52 +01:00
parent 1bd7a03f98
commit 4fb0ff8775
2 changed files with 10 additions and 1 deletions

View File

@ -42,7 +42,13 @@
<table>
{% for suggestion in suggestions %}
<tr><td class="translatetext">{{ suggestion.target|fmttranslation }}</td></tr>
<tr><td>{% blocktrans with suggestion.user as user %}Suggested by {{ user }}{% endblocktrans %}</td>
<tr><td>
{% blocktrans with suggestion.user.get_full_name as user %}Suggested by {{ user }}{% endblocktrans %}
<div class="suggestionactions">
<a href="{{ suggestion.get_accept_url }}">Accept</a>
<a href="{{ suggestion.get_delete_url }}">Delete</a>
</div>
</td>
{% endfor %}
</table>
{% else %}

View File

@ -58,3 +58,6 @@ ul.breadcums li {
white-space: pre;
display: inline-block;
}
.suggestionactions {
float: right;
}