diff --git a/src/root/build-deps.tt b/src/root/build-deps.tt
index 157b113e..f15342fa 100644
--- a/src/root/build-deps.tt
+++ b/src/root/build-deps.tt
@@ -4,6 +4,6 @@
- [% INCLUDE renderNode node=buildTimeGraph %]
+ [% INCLUDE renderNode node=buildTimeGraph isRoot=1 %]
diff --git a/src/root/deps.tt b/src/root/deps.tt
index a2c1fbba..6daa9725 100644
--- a/src/root/deps.tt
+++ b/src/root/deps.tt
@@ -19,9 +19,16 @@
[% node.name %] (no info)
[% END %]
+ [% IF isRoot %]
+
+ (collapse all
+ –
+ expand all)
+
+ [% END %]
[% IF node.refs.size > 0 %]
- [% FOREACH ref IN node.refs; INCLUDE renderNode node=ref; END %]
+ [% FOREACH ref IN node.refs; INCLUDE renderNode node=ref isRoot=0; END %]
[% END %]
[% END %]
diff --git a/src/root/static/css/hydra.css b/src/root/static/css/hydra.css
index 3b50d246..aac3f1ea 100644
--- a/src/root/static/css/hydra.css
+++ b/src/root/static/css/hydra.css
@@ -33,6 +33,11 @@ span:target > span.dep-tree-line {
font-weight: bold;
}
+span.dep-tree-buttons {
+ font-style: italic;
+ padding-left: 10px;
+}
+
span.disabled-project, span.disabled-jobset, span.disabled-job {
text-decoration: line-through;
}