b7702428bcb0 — Oben Sonne 14 years ago
Fix more link in history view
1 files changed, 5 insertions(+), 1 deletions(-)

M app/diggie/templates/diggie/history.html
M app/diggie/templates/diggie/history.html +5 -1
@@ 65,7 65,11 @@ Global change history
 
 {% if nextlimit %}
 <p class="more">
-<a href="/history?limit={{ nextlimit }}">more ...</a>
+{% if page %}
+<a href="{% url diggie.views.history name=page.tip.name %}?limit={{ nextlimit }}">more ...</a>
+{% else %}
+<a href="{% url diggie.views.history %}?limit={{ nextlimit }}">more ...</a>
+{% endif %}
 </p>
 {% endif %}