Fix tabs

[?]
Oct 3, 2013, 1:14 PM
LSNBPB3Z6NEUBFJZ2PXROYSLGPWOEK7SEIBXN2NKLT4EAGGKIOCQC

Dependencies

  • [2] EVYSAFB2 Transpose the aggregate constituents table
  • [3] LFZQIVPX Remove more dead code
  • [4] 5GRW5XU4 Job page: Put latest builds on top
  • [5] WGUKOIQZ Fix indentation
  • [6] CQQSJLON On aggregate job pages, show a matrix showing all the constituent builds
  • [*] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that

Change contents

  • replacement in src/root/job.tt at line 18
    [4.352][3.0:52]()
    [% INCLUDE renderBuildList builds=lastBuilds
    [4.352]
    [4.422]
    [% INCLUDE renderBuildList builds=lastBuilds
  • replacement in src/root/job.tt at line 37
    [2.857][4.1864:1867](),[4.1864][4.1864:1867]()
    [2.857]
    [2.858]
  • replacement in src/root/job.tt at line 40
    [2.986][4.1925:1942](),[4.1925][4.1925:1942](),[4.1942][2.987:1344](),[2.1344][4.2035:2078](),[4.2035][4.2035:2078](),[4.2078][2.1345:1383](),[2.1383][4.2132:2142](),[4.2132][4.2132:2142](),[4.2142][2.1384:1596](),[2.1596][4.2320:2512](),[4.2320][4.2320:2512]()
    <thead>
    <tr>
    <th>Job</th>
    [% FOREACH agg IN aggs %]
    <th class="rotate-45">
    [% agg_ = aggregates.$agg %]
    <div><span class="[% agg_.build.finished == 0 ? "text-info" : (agg_.build.buildstatus == 0 ? "text-success" : "text-warning") %] override-link">
    <a href="[% c.uri_for('/build' agg) %]">[% agg %]</a>
    </span></div></th>
    [% END %]
    </tr>
    </thead>
    <tbody>
    [% FOREACH j IN constituentJobs %]
    <tr>
    <th style="width: 1em;">[% INCLUDE renderJobName project=project.name jobset=jobset.name job=j %]</th>
    [% FOREACH agg IN aggs %]
    <td>
    [% r = aggregates.$agg.constituents.$j; IF r.id %]
    <a href="[% c.uri_for('/build' r.id) %]">
    [% INCLUDE renderBuildStatusIcon size=16 build=r %]
    </a>
    [% END %]
    </td>
    [% END %]
    </tr>
    [% END %]
    </tbody>
    [2.986]
    [4.2512]
    <thead>
    <tr>
    <th>Job</th>
    [% FOREACH agg IN aggs %]
    <th class="rotate-45">
    [% agg_ = aggregates.$agg %]
    <div><span class="[% agg_.build.finished == 0 ? "text-info" : (agg_.build.buildstatus == 0 ? "text-success" : "text-warning") %] override-link">
    <a href="[% c.uri_for('/build' agg) %]">[% agg %]</a>
    </span></div></th>
    [% END %]
    </tr>
    </thead>
    <tbody>
    [% FOREACH j IN constituentJobs %]
    <tr>
    <th style="width: 1em;">[% INCLUDE renderJobName project=project.name jobset=jobset.name job=j %]</th>
    [% FOREACH agg IN aggs %]
    <td>
    [% r = aggregates.$agg.constituents.$j; IF r.id %]
    <a href="[% c.uri_for('/build' r.id) %]">
    [% INCLUDE renderBuildStatusIcon size=16 build=r %]
    </a>
    [% END %]
    </td>
    [% END %]
    </tr>
    [% END %]
    </tbody>
  • replacement in src/root/job.tt at line 71
    [4.2540][4.2540:2543]()
    [4.2540]
    [4.2543]