diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2022-12-15 17:05:51 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2022-12-15 17:05:51 +0300 |
commit | afa8788fbdea74c39e7ca134c4aea0aaaba3c05d (patch) | |
tree | 1cea55feb637940d5c0e8d58ef2c1f1747517320 /layouts | |
parent | 6413ed6fbc353d0eb406e1e581b0eb1962615564 (diff) | |
parent | b0d1f0033fe7c088551c76ee50248b4c9447d378 (diff) |
Merge branch 'fix/gb/blueprint-approvers-owners-dris' into 'main'
Render blueprint owners as DRIs
See merge request https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/3315
Merged-by: Grzegorz Bizon <grzegorz@gitlab.com>
Approved-by: Marshall Cottrell <mcottrell@gitlab.com>
Reviewed-by: Grzegorz Bizon <grzegorz@gitlab.com>
Reviewed-by: Marshall Cottrell <mcottrell@gitlab.com>
Co-authored-by: Grzegorz Bizon <grzesiek.bizon@gmail.com>
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/blueprints/table.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/blueprints/table.erb b/layouts/blueprints/table.erb index 3c2571e4..9c87f75b 100644 --- a/layouts/blueprints/table.erb +++ b/layouts/blueprints/table.erb @@ -10,10 +10,10 @@ <% unless @summary %> <th>Title</th> <% end %> - <th>Author(s)</th> + <th>Authors</th> <th>Coach</th> <% if @summary %> - <th>Approver(s)</th> + <th>DRIs</th> <% end %> <th>Owning Stage</th> <th>Created</th> @@ -42,7 +42,7 @@ </td> <% if @summary %> <td> - <% b[:approvers]&.each do |a| %> + <% (b[:approvers] || b[:owners]).to_a.each do |a| %> <code><%= author_link(a) %></code> <% end %> </td> |