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 <grzesiek.bizon@gmail.com>2022-12-20 14:17:24 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2022-12-20 14:17:24 +0300
commit93525b8b8e6cab8c72305c7f11894e85ee5a2753 (patch)
tree90868b0a1ef39383c980646ada4b6e9f63aadec3 /layouts
parenta7ea4f6b7cb4281d450c41ccdbb1e9740a7e709c (diff)
Make it possible to define multiple coaches for a blueprint
Diffstat (limited to 'layouts')
-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 9c87f75b..47968fba 100644
--- a/layouts/blueprints/table.erb
+++ b/layouts/blueprints/table.erb
@@ -31,13 +31,13 @@
</td>
<% end %>
<td>
- <% b[:authors]&.each do |a| %>
+ <% Array(b[:authors]).each do |a| %>
<code><%= author_link(a) %></code>
<% end %>
</td>
<td>
- <% if b[:coach] %>
- <code><%= author_link(b[:coach]) %></code>
+ <% Array(b[:coach] || b[:coaches]).each do |c| %>
+ <code><%= author_link(c) %></code>
<% end %>
</td>
<% if @summary %>