BigW Consortium Gitlab

Commit 2baa90b2 by Kamil Trzcinski

Render stages in valid order

parent 4276172b
...@@ -18,6 +18,7 @@ v 8.12.0 (unreleased) ...@@ -18,6 +18,7 @@ v 8.12.0 (unreleased)
- API: Ensure invitees are not returned in Members API. - API: Ensure invitees are not returned in Members API.
- Add two-factor recovery endpoint to internal API !5510 - Add two-factor recovery endpoint to internal API !5510
- Pass the "Remember me" value to the U2F authentication form - Pass the "Remember me" value to the U2F authentication form
- Display stages in valid order in stages dropdown on build page
- Only update projects.last_activity_at once per hour when creating a new event - Only update projects.last_activity_at once per hour when creating a new event
- Remove vendor prefixes for linear-gradient CSS (ClemMakesApps) - Remove vendor prefixes for linear-gradient CSS (ClemMakesApps)
- Move pushes_since_gc from the database to Redis - Move pushes_since_gc from the database to Redis
......
...@@ -112,14 +112,14 @@ ...@@ -112,14 +112,14 @@
%span.label.label-primary %span.label.label-primary
= tag = tag
- if builds.size > 1 - if @build.pipeline.stages.many?
.dropdown.build-dropdown .dropdown.build-dropdown
.title Stage .title Stage
%button.dropdown-menu-toggle{type: 'button', 'data-toggle' => 'dropdown'} %button.dropdown-menu-toggle{type: 'button', 'data-toggle' => 'dropdown'}
%span.stage-selection More %span.stage-selection More
= icon('caret-down') = icon('caret-down')
%ul.dropdown-menu %ul.dropdown-menu
- builds.map(&:stage).uniq.each do |stage| - @build.pipeline.stages.each do |stage|
%li %li
%a.stage-item= stage %a.stage-item= stage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment