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

Unified Diff: masters/master.chromiumos/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.chromiumos/templates/build.html
diff --git a/masters/master.chromiumos/templates/build.html b/masters/master.chromiumos/templates/build.html
index dbf37a06bbd563d4f1f948cfb850ad2406337370..d7762c78be41b81c6b8586d24f1ca281788e91da 100644
--- a/masters/master.chromiumos/templates/build.html
+++ b/masters/master.chromiumos/templates/build.html
@@ -145,7 +145,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>
+ {% 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