Job page: Remove channel tab

[?]
Feb 22, 2013, 11:00 AM
N4ODPYP7XKBCZRAA6R3U23VHUUXEIB7KFQG2QAPDHFKYCUKF673AC

Dependencies

  • [2] WGUKOIQZ Fix indentation
  • [3] G5YSUSNZ In build tables, hide the project, jobset and/or job name if they're constant
  • [4] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [5] 3PNG7NIB Remove trailing whitespace
  • [6] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build
  • [*] QL55ECJ6 - adapted ui for hydra, more in line with nixos.org website
  • [*] OEPUOUNB Using twitter bootstrap for more consistent looks for Hydra

Change contents

  • replacement in src/root/job.tt at line 1
    [3.7675][3.7676:7755]()
    [% WRAPPER layout.tt title="Job ‘$project.name:$jobset.name:$job.name’" %]
    [3.7675]
    [3.7755]
    [% WRAPPER layout.tt title="Job $project.name:$jobset.name:$job.name" %]
  • edit in src/root/job.tt at line 7
    [2.105][2.105:172]()
    <li><a href="#tabs-channels" data-toggle="tab">Channels</a></li>
  • edit in src/root/job.tt at line 27
    [2.817][2.817:1169]()
    <div id="tabs-channels" class="tab-pane">
    <p>This job provides the following Nix channel:</p>
    <ul>
    <li>
    <a href="[% c.uri_for('/job' project.name jobset.name job.name
    'channel' 'latest') %]"><tt>latest</tt></a> — contains the latest
    successful build for each platform.
    </li>
    </ul>
    </div>
  • replacement in src/root/job.tt at line 29
    [2.1226][2.1226:1366]()
    <li><a href="[% c.uri_for('/job' project.name jobset.name job.name
    'latest') %]">Latest successful build.</a></li>
    [2.1226]
    [2.1366]
    <li><a href="[% c.uri_for('/job' project.name jobset.name job.name 'latest') %]">Latest successful build</a></li>
  • replacement in src/root/job.tt at line 31
    [2.1404][2.1404:1578]()
    <li><a href="[% c.uri_for('/job' project.name jobset.name job.name 'latest-for' system.system) %]">Latest successful build for <tt>[% system.system %]</tt>.</a></li>
    [2.1404]
    [2.1578]
    <li><a href="[% c.uri_for('/job' project.name jobset.name job.name 'latest-for' system.system) %]">Latest successful build for <tt>[% system.system %]</tt></a></li>
  • edit in src/root/topbar.tt at line 118
    [9.14173]
    [9.14414]
    <li class="divider"></li>
    [% INCLUDE menuItem uri = c.uri_for('/job' project.name jobset.name job.name 'channel' 'latest') title = "Channel" %]