Ticket #572: buildboturl-typo.diff

File buildboturl-typo.diff, 825 bytes (added by dhubler, 3 years ago)

fix

  • buildbot/status/web/builder.py

    diff --git a/buildbot/status/web/builder.py b/buildbot/status/web/builder.py
    index 65ccdcf..97fed91 100644
    a b class StatusResourceBuilder(HtmlResource, OneLineMixin): 
    7878 
    7979        # Then a section with the last 5 builds, with the most recent build 
    8080        # 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())) 
    8284        data += "<ul>\n" 
    8385        numbuilds = req.args.get('numbuilds', ['5'])[0] 
    8486        for i,build in enumerate(b.generateFinishedBuilds(num_builds=int(numbuilds))):