diff options
Diffstat (limited to 'app/views/custom/partials/_chapter.html.erb')
| -rw-r--r-- | app/views/custom/partials/_chapter.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/custom/partials/_chapter.html.erb b/app/views/custom/partials/_chapter.html.erb index 8a92b46f..2065560a 100644 --- a/app/views/custom/partials/_chapter.html.erb +++ b/app/views/custom/partials/_chapter.html.erb | |||
| @@ -7,8 +7,8 @@ | |||
| 7 | <% if page.abstract.present? %> | 7 | <% if page.abstract.present? %> |
| 8 | <div class="chapter_location"><%= page.abstract %></div> | 8 | <div class="chapter_location"><%= page.abstract %></div> |
| 9 | <% end %> | 9 | <% end %> |
| 10 | <% if page.node.external_url.present? %> | 10 | <% if page.external_url.present? %> |
| 11 | <div class="chapter_url"><%= link_to page.node.external_url, page.node.external_url, target: '_blank', rel: 'noopener' %></div> | 11 | <div class="chapter_url"><%= link_to page.external_url, page.external_url, target: '_blank', rel: 'noopener' %></div> |
| 12 | <% end %> | 12 | <% end %> |
| 13 | <% open_days = page.node.events.tagged_with('open-day').order(:start_time) %> | 13 | <% open_days = page.node.events.tagged_with('open-day').order(:start_time) %> |
| 14 | <% if open_days.any? %> | 14 | <% if open_days.any? %> |
