Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: masters/master.chromium/templates/build.html

Issue 1885033002: BuildBot: Add anchors for unbound aliases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: masters/master.chromium/templates/build.html
diff --git a/masters/master.chromium/templates/build.html b/masters/master.chromium/templates/build.html
index fe47ddc320a065ff9e52632ed9b73a95d0a6670d..d3f450b29181ca1b33df1b2a6c923dcacd00a4d2 100644
--- a/masters/master.chromium/templates/build.html
+++ b/masters/master.chromium/templates/build.html
@@ -148,7 +148,11 @@ Build #{{ b.getNumber() }}
{% set item_class = cycler('alt', '') %}
{% for l in s.logs %}
<li class="{{ item_class.next() }}">
- <a href="{{ l.link }}">{{ l.name }}</a>
+ {% if l.link %}
+ <a href="{{ l.link }}">{{ l.name }}</a>
+ {% else %}
+ <span>{{ l.name }}</span>
dnj 2016/04/13 15:39:59 (Will never be hit for scenario (2), since waterfa
+ {% endif %}
{% if s.aliases %}
{% for a in s.aliases.get(l.name, ()) %}
<a href="{{ a.url }}">[{{ a.text }}]</a>

Powered by Google App Engine
This is Rietveld 408576698