src/cm/templates/site/text_history.html
changeset 148 03106bfa4845
parent 145 fb5b1e6ad179
child 177 6fcd0f9cc08b
--- a/src/cm/templates/site/text_history.html	Fri Feb 05 12:39:25 2010 +0100
+++ b/src/cm/templates/site/text_history.html	Fri Feb 05 15:15:46 2010 +0100
@@ -57,6 +57,8 @@
     {% if last_last_version %}    
     <li> / </li>
     <li><a href="{% url text-history-compare text.key last_last_version.key last_version.key %}">{% blocktrans %}Compare last two versions{% endblocktrans %}</a></li>
+    <li> / </li>
+    <li><a href="{% url text-history-version text.key text.last_text_version.key %}">{% blocktrans %}Most recent version{% endblocktrans %}</a></li>
     {% endif %}
 </ul>
 
@@ -98,7 +100,7 @@
                 
                 <div class="hidden-text-actions text-actions-{{ text_version.key }}">
                     <a href="{% url text-history-version text.key text_version.key %}">{% blocktrans %}View{% endblocktrans %}</a> 
-                    {% if text_version.get_previous_version %}| <a href="{% url text-history-compare text.key text_version.key text_version.get_previous_version.key %}">{% blocktrans %}Compare with previous version{% endblocktrans %}</a>{% endif %}
+                    {% if text_version.get_previous_version %}| <a href="{% url text-history-compare text.key text_version.get_previous_version.key text_version.key %}">{% blocktrans %}Compare with previous version{% endblocktrans %}</a>{% endif %}
                     {% if can_edit_text %} | <a href="{% url text-revert text.key text_version.key %}">{% blocktrans %}Revert to this version{% endblocktrans %}</a>{% endif %}
                     {% comment %}{% if can_delete_text %}<a id="text-delete-{{ text_version.key }}" href="#">{% blocktrans %}Delete{% endblocktrans %}</a>
                     <script type="text/javascript">