Add an action menu to evaluations

[?]
Oct 2, 2013, 11:34 PM
6HWHYPSW4Y2QBY3OWAJYEOOVICFFIWSL5OEAU2ZMLD3H4NXXKBOAC

Dependencies

  • [2] T2LI6BMH Revive release button on eval page
  • [3] 2P7VNAAC Move common Javascript code into a separate file
  • [4] 4QCXGR4W Tabify the eval page
  • [5] U4TD3AIQ Add support for viewing jobset evaluations
  • [*] W74RIXTJ Show inputs and input changes on the jobset eval page

Change contents

  • edit in src/root/jobset-eval.tt at line 35
    [3.340][2.0:186]()
    [% IF c.user_exists %]
    <a class="btn btn-warning pull-right" href="[% c.uri_for(c.controller('JobsetEval').action_for('release'), [eval.id]) %]">Release this evaluation</a>
    [% END %]
  • edit in src/root/jobset-eval.tt at line 37
    [7.1536]
    [3.342]
    [% IF c.user_exists %]
    <li class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
    Actions
    <b class="caret"></b>
    </a>
    <ul class="dropdown-menu">
    <li><a href="[% c.uri_for(c.controller('JobsetEval').action_for('release'), [eval.id]) %]">Create a release from this evaluation</a></li>
    </ul>
    </li>
    [% END %]
  • replacement in src/root/static/js/common.js at line 61
    [3.3499][3.3499:3554]()
    $("a", $("li", this).first()).tab('show');
    [3.3499]
    [3.3554]
    $("a", $(this).children("li:not(.dropdown)").first()).tab('show');