You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: simple_history/templates/simple_history/object_history_form.html
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,10 @@
13
13
</div>
14
14
{% endblock %}
15
15
16
-
{% comment %}Hack to remove "Save as New" and "Save and Continue" buttons {% endcomment %}
17
-
{% block content %}
18
-
{% with 1 as is_popup %}
19
-
{{block.super}}
20
-
{% endwith %}
16
+
{% block submit_buttons_bottom %}
17
+
{% include "simple_history/submit_line.html" %}
21
18
{% endblock %}
22
19
23
20
{% block form_top %}
24
-
<p>{% blocktrans %}Press the save button below to revert to this version of the object.{% endblocktrans %}</p>
21
+
<p>{% blocktrans %}Press the 'Revert' button below to revert to this version of the object.{% endblocktrans %} {% if change_history %}{% blocktrans %}Or press the 'Change History' button to edit the history.{% endblocktrans %}{% endif %}</p>
0 commit comments