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

Unified Diff: third_party/buildbot_8_4p1/buildbot/status/web/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
« no previous file with comments | « third_party/buildbot_8_4p1/buildbot/status/web/build.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/buildbot_8_4p1/buildbot/status/web/templates/build.html
diff --git a/third_party/buildbot_8_4p1/buildbot/status/web/templates/build.html b/third_party/buildbot_8_4p1/buildbot/status/web/templates/build.html
index 327539bd92031866f84f2445b7d3ac94e997c58a..8ebadb6277804fcd437ee28012e090cb0129b0ea 100644
--- a/third_party/buildbot_8_4p1/buildbot/status/web/templates/build.html
+++ b/third_party/buildbot_8_4p1/buildbot/status/web/templates/build.html
@@ -132,13 +132,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>
{% endfor %}
« no previous file with comments | « third_party/buildbot_8_4p1/buildbot/status/web/build.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698