Commit b2823795 authored by Michal Čihař's avatar Michal Čihař

Integrate review into new layout

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 148e1c6c
......@@ -48,11 +48,25 @@
{{ search_form.as_p }}
</div>
<div class="panel-footer">
<input type="submit" value="{% trans "Search" %}" class="button" />
<input type="submit" value="{% trans "Search" %}" class="btn btn-default" />
</div>
</div>
</form>
{% if review_form %}
<form action="{{ object.get_translate_url }}" method="GET">
<div class="panel panel-primary">
<div class="panel-heading">{% trans "Review" %}</div>
<div class="panel-body">
<p>{% trans "Review translations touched by other users." %}</p>
{{ review_form.as_p }}
</div>
<div class="panel-footer">
<input type="submit" value="{% trans "Start review" %}" class="btn btn-default" />
</div>
</div>
</form>
{% endif %}
</div>
......@@ -166,23 +180,6 @@
{% endif %}
</div>
<div id="changes">
<h3>{% trans "History" %}</h3>
{% if review_form %}
<h3>{% trans "Review" %}</h3>
<p>{% trans "Review translations touched by other users." %}</p>
<form action="{{ object.get_translate_url }}" method="GET">
<table>
{{ review_form.as_table }}
</table>
<p><input type="submit" value="{% trans "Start review" %}" class="button" /></p>
</form>
{% endif %}
</div>
{% if autoform %}
<div id="auto">
<p>{% trans "Automatic translation takes existing translations in this project and applies it to the current subproject. It can be used to push translations to a different branch, to fix inconsistent translations or to translate new subproject using translation memory." %}</p>
......
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