Commit 4fb0ff87 authored by Michal Čihař's avatar Michal Čihař

Add buttons for accepting/deleting suggestions

parent 1bd7a03f
......@@ -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 %}
......
......@@ -58,3 +58,6 @@ ul.breadcums li {
white-space: pre;
display: inline-block;
}
.suggestionactions {
float: right;
}
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