Hide hidden jobsets for project admins by default
[?]
Oct 27, 2016, 2:46 PM
2CFO2MHSLCE4SKY5N3ROLIOBEQAFR6WRYLGGJ5AP3HZVDEC6YGWACDependencies
- [2]
AJVCB6K6Fix a "Argument isn't numeric" warning if there are not jobsets - [3]
ZB3JV52WAdd a "My jobsets" tab to the dashboard - [4]
34O5UJ63Remove unnecessary join against releases table - [5]
KSBB33REAdd a dashboard - [6]
JARRBLZDBootstrapify the Hydra forms (except the project and jobset edit pages) - [7]
XAJFR6SRAdd a chart to the job pages showing the closure size over time - [8]
2VBQRQ2QFix some XML well-formedness problems - [9]
3PNG7NIBRemove trailing whitespace - [10]
PZL3SZM3Give every page a consistent title - [11]
JY7BXXOPSplit viewing and editing a project - [12]
5CV7VJHPDoh - [*]
FPK5LF53* Put the project-related actions in a separate controller. Put the - [*]
IK53RV4V - [*]
7YBYT2LQ - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
MCCHPWHEIndicate disabled/hidden projects/jobsets in the overviews - [*]
SBMOICGVEvil CSS hackery to prevent link targets from being under the navbar
Change contents
- edit in src/lib/Hydra/Controller/Project.pm at line 16
$c->stash->{isProjectOwner} = isProjectOwner($c, $c->stash->{project}); - replacement in src/root/common.tt at line 514
<tr><tr class="[% IF j.hidden && !showHidden %] hidden-jobset [% END %] [% IF !j.enabled %] disabled-jobset [% END %]" > - replacement in src/root/dashboard-my-jobsets-tab.tt at line 10
[% INCLUDE renderJobsetOverview showProject=1 %][% INCLUDE renderJobsetOverview showProject=1 showHidden=1 %] - edit in src/root/project.tt at line 28
<script type="text/javascript">$(document).ready(function() {$('#show-hidden').on('click', function (e) {var show = !$(this).hasClass('active');if (show)$('tr.hidden-jobset').show();else$('tr.hidden-jobset').hide();});$('#show-disabled').on('click', function (e) {var show = !$(this).hasClass('active');if (show)$('tr.disabled-jobset').show();else$('tr.disabled-jobset').hide();});});</script> - replacement in src/root/project.tt at line 51
<p>This project has the following jobsets:</p><p>This project has the following jobsets:<button id="show-disabled" type="button" class="btn btn-small pull-right active" data-toggle="button">Show disabled jobsets</button>[% IF isProjectOwner %]<button id="show-hidden" type="button" class="btn btn-small pull-right" data-toggle="button">Show hidden jobsets</button>[% END %]</p> - edit in src/root/project.tt at line 61
- edit in src/root/static/css/hydra.css at line 48[18.523][19.784]
}tr.hidden-jobset {display: none;