diff --git a/buildbot/status/web/builder.py b/buildbot/status/web/builder.py
index 65ccdcf..97fed91 100644
|
a
|
b
|
class StatusResourceBuilder(HtmlResource, OneLineMixin): |
| 78 | 78 | |
| 79 | 79 | # Then a section with the last 5 builds, with the most recent build |
| 80 | 80 | # distinguished from the rest. |
| 81 | | data += "(<a href=\"%s?show=%s\">view in waterfall</a>)\n" % (status.getBuildbotURL(), html.escape(b.getName())) |
| | 81 | |
| | 82 | data += "<h2>Recent Builds:</h2>\n" |
| | 83 | data += "(<a href=\"%s\">view in waterfall</a>)\n" % (buildbotURL+"?show="+html.escape(b.getName())) |
| 82 | 84 | data += "<ul>\n" |
| 83 | 85 | numbuilds = req.args.get('numbuilds', ['5'])[0] |
| 84 | 86 | for i,build in enumerate(b.generateFinishedBuilds(num_builds=int(numbuilds))): |