diff --git a/src/root/build.tt b/src/root/build.tt index 73dc0c54..b58dbff1 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -192,19 +192,6 @@ - [% IF c.user_exists && available %] -
-
-
- -
- - -
-
-
- [% END %] - [% IF build.buildproducts && !isAggregate %]

Build products

@@ -559,4 +546,28 @@ +[% IF c.user_exists && available && project.releases %] + +[% END %] + + [% END %] diff --git a/src/root/topbar.tt b/src/root/topbar.tt index fd924615..8b92e9ba 100644 --- a/src/root/topbar.tt +++ b/src/root/topbar.tt @@ -1,6 +1,6 @@ [% BLOCK menuItem %]
  • - [% title %] + [% title %]
  • [% END %] @@ -155,6 +155,12 @@ uri = c.uri_for('/build' build.id 'cancel') title = "Cancel build" %] [% END %] + [% IF available && project.releases %] + [% INCLUDE menuItem + uri = "#add-to-release" + title = "Add to release" + modal = 1 %] + [% END %] [% END %] [% END %] [% END %]