diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/main_dashboard.jelly b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/main_dashboard.jelly index 32108a49..f0c0b8e7 100755 --- a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/main_dashboard.jelly +++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/main_dashboard.jelly @@ -2,16 +2,5 @@ - + diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/toggle-build-details.js b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/toggle-build-details.js new file mode 100644 index 00000000..52da9aa0 --- /dev/null +++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/toggle-build-details.js @@ -0,0 +1,10 @@ +// show/hide build details +jQuery(document).ready(function() { + jQuery(".header").click(function() { + var parent = jQuery(this).parent(); + var ba = parent.find(".build-actions"); + var bb = parent.find(".build-body"); + + ba.add(bb).toggle('slow'); + }); +});