[llvm-commits] [zorg] r151762 - /zorg/trunk/lnt/lnt/server/ui/templates/v4_utils.html
Daniel Dunbar
daniel at zuster.org
Wed Feb 29 14:06:24 PST 2012
Author: ddunbar
Date: Wed Feb 29 16:06:24 2012
New Revision: 151762
URL: http://llvm.org/viewvc/llvm-project?rev=151762&view=rev
Log:
[lnt] lnt.server.ui: Fix a use of undefined.
Modified:
zorg/trunk/lnt/lnt/server/ui/templates/v4_utils.html
Modified: zorg/trunk/lnt/lnt/server/ui/templates/v4_utils.html
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/server/ui/templates/v4_utils.html?rev=151762&r1=151761&r2=151762&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/server/ui/templates/v4_utils.html (original)
+++ zorg/trunk/lnt/lnt/server/ui/templates/v4_utils.html Wed Feb 29 16:06:24 2012
@@ -50,10 +50,10 @@
<h4>Compare To:</h4>
<ul>
{% for r in comparison_neighboring_runs %}
- <li>{{ "<h3>"|safe if r.id == compare_to.id else "" }}
+ <li>{{ "<h3>"|safe if compare_to and r.id == compare_to.id else "" }}
<a href="{{v4_url_for('v4_run', id=run.id, compare_to=r.id)}}">{{
r.start_time}}</a>{{
- "</h3>"|safe if r.id == compare_to.id else ""}}
+ "</h3>"|safe if compare_to and r.id == compare_to.id else ""}}
{% endfor %}
</ul>
{% endif %}
More information about the llvm-commits
mailing list