Move channel link to top menu of Project and Jobset.

[?]
Apr 13, 2012, 8:56 AM
GEL2WHSU2OFBNMGPEJ7RIJEGGRSGJOQHVDFJTGMYFPM2H2VPK2EAC

Dependencies

  • [2] OEPUOUNB Using twitter bootstrap for more consistent looks for Hydra
  • [3] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [4] TJPIS3UP hydra: minor improvements in hydra ui
  • [5] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build
  • [6] AKAXJDMW * Disable the statistics on the project, jobset and job pages for now
  • [7] 7G5RWHB7 Remove the "all" channel
  • [*] 7YBYT2LQ
  • [*] QL55ECJ6 - adapted ui for hydra, more in line with nixos.org website

Change contents

  • edit in src/root/jobset.tt at line 81
    [2.5168][3.20377:20395](),[3.20377][3.20377:20395](),[3.20395][2.5169:5237](),[3.381][3.20499:20511](),[2.5237][3.20499:20511](),[3.20499][3.20499:20511]()
    [% IF !edit -%]
    <li><a href="#tabs-channels" data-toggle="tab">Channels</a></li>
    [% END %]
  • edit in src/root/jobset.tt at line 206
    [3.24037][2.5509:5553](),[2.5553][3.24064:24092](),[3.24064][3.24064:24092](),[3.24092][3.252:310](),[3.310][3.24151:24376](),[3.24151][3.24151:24376](),[3.24602][3.24602:24626]()
    <div id="tabs-channels" class="tab-pane">
    <h2>Channels</h2>
    <p>This jobset provides the following Nix channel:</p>
    <ul>
    <li>
    <a href="[% c.uri_for('/jobset' project.name jobset.name 'channel'
    'latest') %]"><tt>latest</tt></a> — contains the latest successful
    build of every job in this jobset.
    </li>
    </ul>
    </div>
  • edit in src/root/project.tt at line 10
    [2.8365][2.8365:8433]()
    <li><a href="#tabs-channels" data-toggle="tab">Channels</a></li>
  • edit in src/root/project.tt at line 202
    [3.30023][2.10155:10200](),[2.10200][3.30051:30080](),[3.30051][3.30051:30080](),[3.30080][3.311:370](),[3.370][3.30140:30348](),[3.30140][3.30140:30348](),[3.30563][3.30563:30585]()
    <div id="tabs-channels" class="tab-pane">
    <h2>Channels</h2>
    <p>This project provides the following Nix channel:</p>
    <ul>
    <li>
    <a href="[% c.uri_for('/project' project.name 'channel' 'latest') %]"><tt>latest</tt></a> —
    contains the latest successful build of every job in this project.
    </li>
    </ul>
    </div>
  • edit in src/root/topbar.tt at line 51
    [2.11892]
    [2.11892]
    [% INCLUDE menuItem uri = c.uri_for('/project' project.name 'channel' 'latest') title = "Channel (latest)" %]
  • edit in src/root/topbar.tt at line 78
    [2.13133]
    [2.13133]
    [% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'channel' 'latest') title = "Channel (latest)" %]