[llvm-commits] [zorg] r148004 - /zorg/trunk/lnt/lnt/server/ui/templates/v4_order.html

Daniel Dunbar daniel at zuster.org
Wed Jan 11 17:42:29 PST 2012


Author: ddunbar
Date: Wed Jan 11 19:42:28 2012
New Revision: 148004

URL: http://llvm.org/viewvc/llvm-project?rev=148004&view=rev
Log:
[lnt/v0.4] Fix a refacto in the v4_order template.

Modified:
    zorg/trunk/lnt/lnt/server/ui/templates/v4_order.html

Modified: zorg/trunk/lnt/lnt/server/ui/templates/v4_order.html
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/server/ui/templates/v4_order.html?rev=148004&r1=148003&r2=148004&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/server/ui/templates/v4_order.html (original)
+++ zorg/trunk/lnt/lnt/server/ui/templates/v4_order.html Wed Jan 11 19:42:28 2012
@@ -37,10 +37,10 @@
 </table>
 
 {# Provide links to the previous and next orders. #}
-{% if order.previous_order_id is not null %}
+{% if order.previous_order_id is not none %}
 <a href="{{v4_url_for('v4_order', id=order.previous_order_id)}}">Previous</a>
 {% endif %}
-{% if order.next_order_id is not null %}
+{% if order.next_order_id is not none %}
 <a href="{{v4_url_for('v4_order', id=order.next_order_id)}}">Next</a>
 {% endif %}
 





More information about the llvm-commits mailing list