Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2022-12-15 17:05:51 +0300
committerGrzegorz Bizon <grzegorz@gitlab.com>2022-12-15 17:05:51 +0300
commitafa8788fbdea74c39e7ca134c4aea0aaaba3c05d (patch)
tree1cea55feb637940d5c0e8d58ef2c1f1747517320
parent6413ed6fbc353d0eb406e1e581b0eb1962615564 (diff)
parentb0d1f0033fe7c088551c76ee50248b4c9447d378 (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>
-rw-r--r--layouts/blueprints/table.erb6
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>