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

Unified Diff: masters/master.tryserver.blink/templates/build.html

Issue 1812163002: Add log and link aliasing to BuildBot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Unused variable. Created 4 years, 9 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.tryserver.blink/templates/build.html
diff --git a/masters/master.tryserver.blink/templates/build.html b/masters/master.tryserver.blink/templates/build.html
index 2971f1063cffa8e6cb616ed91aa53612dc07c1ba..c7fb0719b6378205918cd8dcff6bdeffecc2947d 100644
--- a/masters/master.tryserver.blink/templates/build.html
+++ b/masters/master.tryserver.blink/templates/build.html
@@ -133,13 +133,27 @@ Build #{{ b.getNumber() }}
<ul>
{% set item_class = cycler('alt', '') %}
{% for l in s.logs %}
- <li class="{{ item_class.next() }}"><a href="{{ l.link }}">{{ l.name }}</a></li>
+ <li class="{{ item_class.next() }}">
+ <a href="{{ l.link }}">{{ l.name }}</a>
+ {% if s.aliases %}
+ {% for a in s.aliases.get(l.name, ()) %}
+ <a href="{{ a.url }}">[{{ a.text }}]</a>
+ {% endfor %}
+ {% endif %}
+ </li>
{% else %}
<li class="{{ item_class.next() }}">- no logs -</li>
{% endfor %}
{% for u in s.urls %}
- <li class="{{ item_class.next() }}"><a href="{{ u.url }}">{{ u.logname }}</a></li>
+ <li class="{{ item_class.next() }}">
+ <a href="{{ u.url }}">{{ u.logname }}</a>
+ {% if s.aliases %}
+ {% for a in s.aliases.get(u.logname, ()) %}
+ <a href="{{ a.url }}">[{{ a.text }}]</a>
+ {% endfor %}
+ {% endif %}
+ </li>
{% endfor %}
</ul>
</li>
« no previous file with comments | « masters/master.chromiumos/templates/build.html ('k') | masters/master.tryserver.chromium.linux/templates/build.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698