Add buttons for accepting/deleting suggestions
This commit is contained in:
parent
1bd7a03f98
commit
4fb0ff8775
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user